Skip to main content
100%

Activity 6_Question 1.2

✓ Published0🌍 Public
Ssumithdugyala@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024

This bar chart displays the population of 20 countries in 2010, sorted along a categorical y-axis with a linear x-axis measured in billions. Built with React and D3 v5, the visualization uses `scaleBand` and `scaleLinear` to map data from a CSV file. SVG `<rect>` elements render the bars, with axes generated by custom `AxisBottom` and `AxisLeft` components. Tooltips reveal precise values via a `format` function replacing 'G' with 'B'. The chart is styled with a green mark fill and blue tick lines.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes