Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE -6 Bar Chart

Public visualization

Viewing a saved revision (read-only)

403b69e4e219418bb01bfdf2c12779f1

ICE -6 Bar Chart

0 stars0🌍 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