🌍 Public
Viewing a saved revision (read-only)
c852ed211f5a4088b1f79a82ce97b239
ICE -6 Bar Chart
The visualization displays the top 10 countries by total COVID-19 recovered cases using a bar chart, where each circle’s vertical position encodes the recovery count on a linear scale. The code fetches data from a CSV hosted on GitHub via `d3.csv`, sorts it in descending order, and slices the first ten entries. It then constructs an SVG scatter plot using `d3.scaleLinear` for both axes, adds circles with `d3.selectAll`, and renders axes with `d3.axisBottom` and `d3.axisLeft`. The chart title and axis labels are set via options, defaulting to a steelblue fill for circles.
AI-generated description