Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
SSatish Nallamadugu
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This visualization shows the population of ten countries in the year 2000 as a horizontal bar chart, with countries listed on the y-axis and population values on the x-axis. The chart uses React to render SVG elements, with d3.scaleBand and d3.scaleLinear handling the scaling, while the AxisBottom and AxisLeft components generate the tick marks and labels. Data is loaded from a remote CSV file via d3.csv, and population values are formatted using d3.format with the '.2s' notation, displaying values in billions.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes