Skip to main content
100%

ICE -6 Bar Chart

✓ Published0🌍 Public
MM Hema
Last edited Mar 27, 2024
Created on Mar 20, 2024
Forked from 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
MIT Licensed

Similar vizzes