Yes 899 deaths is the same as 273, but to be fair Sweden's population is much higher than Denmark's and the population density of Denmark is crazy high compared to Sweden... so it's hard to compare.
Sovereign state
Kingdom of Denmark
Kingdom of Sweden
Population (2018 estimate)
5,809,502
10,313,447
Area
43,094 km2
450,295 km2
Population density (2015 estimate)
129.5/km2
22.9/km2
Check the link for a comprehensive graph in the article- the two curves will show a steep incline in Sweden and a less steep one for Denmark...
https://www.euronews.com/2020/04/12/is-sweden-s-covid-19-strategy-working