Skip to main content
100%

Fork of Activity6_question1.2

✓ Published0🌍 Public
Ddineshreddy.ravula@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024

This chart displays the 2010 population estimates for 20 countries as a horizontal bar chart, with countries sorted along the y-axis and population magnitudes along the x-axis. The visualization is built using React and D3 v5, with SVG rendering. It employs `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. A tooltip, implemented via an SVG `<title>` element, reveals the precise formatted population value for each bar. The data is loaded asynchronously from a CSV file using D3's `csv` function, and the x-axis labels are formatted using D3's `format` utility.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes