Skip to main content
100%

Fork of Activity_6_tut-1

✓ Published0🌍 Public
Ssairam.amaraneni22@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Activity_6_tut-1

This interactive bar chart displays the 2020 population estimates for 30 countries, ordered along the y-axis with population values on the x-axis. Built with React and D3 v5, the visualization uses SVG rendering and maps data from a CSV file loaded via D3's `csv` function. The chart employs `scaleBand` for the categorical country axis and `scaleLinear` for the population axis, with a custom tooltip showing abbreviated values via `d3.format`. The code defines reusable components for axes and marks, applying CSS styling to ticks and bars.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes