Skip to main content
100%

Activity_6 Task1

✓ Published1🌍 Public
Ppslharika@gmail.com
Last edited Apr 3, 2024
Created on Apr 1, 2024
Forked from Hello VizHub

A horizontal bar chart displays population estimates for 30 countries, sorted by their 2020 values, with bars extending from a shared left axis and a blue tick grid. The visualization uses React components to render SVG elements, with D3 v5 handling data loading via `d3.csv` from a GitHub raw CSV file, while scales and axes are constructed through D3's scale functions. The code filters the dataset to the first 30 rows after parsing the Population field, and each bar includes a native SVG `<title>` tooltip showing the formatted value. The styling applies green marks and a Poppins font.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes