Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-6

Public visualization

Viewing a saved revision (read-only)

a44a34fac10a4470a3e5e730f47a2bd4

ICE-6

0 stars0🌍 Public
NNithish Kumar
Last edited Mar 8, 2023
Created on Mar 8, 2023
Forked from ICE-6(sai nitish)

This bar chart displays COVID-19 deaths by country, ranking the top nations based on their reported death tolls. The visualization uses a horizontal bar layout with red rectangles, where the x-axis represents death counts and the y-axis lists country names. The code imports D3 v5 functions including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the chart, with custom tick formatting that converts large numbers into abbreviated values. The data is loaded via `d3.csv` from an empty URL, so the chart renders without actual data in its current state.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.