Skip to main content
100%

task8

✓ Published1🌍 Public
Ssruthimreddy6@gmail.com
Last edited Apr 13, 2024
Created on Apr 12, 2024
Forked from Activity 7

A horizontal bar chart displays the 2020 population estimates for 30 countries, sorted by country name along the y-axis with population magnitudes encoded as bar lengths on the x-axis. Built with React and D3 v5, the visualization uses d3.scaleBand for the categorical y-axis, d3.scaleLinear for the quantitative x-axis, and SVG rectangles for marks, with tooltips formatted using d3.format. Population data is loaded from a remote CSV file via d3.csv, and custom React components render the axes and marks.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes