Skip to main content
100%

Activity7question1

✓ Published11🌍 Public
Gganeshrajuparmalla@my.unt.edu
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Activity 7

This bar chart displays the population of ten countries in the year 2000, with countries listed along the y-axis and population values along the x-axis. The visualization uses React with D3 v5, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Bars are rendered as SVG rect elements, with axis labels and tick marks styled via CSS. Data is loaded from a CSV file using D3's `csv` parser, with population values multiplied by 1000, and formatted using D3's `format('.2s')` to abbreviate large numbers.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes