DEV Community

loading...

Discussion on: React and D3: Dynamic COVID-19 Visualizations (Part 2: Country Comparison Dashboard)

Collapse
jessesbyers profile image
Jesse Smith Byers Author

Thank you for the positive feedback, and for pointing out the bug with Australia. With 248 countries, I haven't tested all of them!

When I look at the API for Australia, I can now see the cause of the issue. It looks like there is a separate object for each province for each day, while virtually all of the others are reporting aggregate data for the entire country (one object per day). Check back in a few days - I should be able to include a function to aggregate that data.

Forem Open with the Forem app