Fork of hello vizhub activity6_jaswanth_kota
✓ Published0🌍 Public
JJaswanthkota@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Fork of Hello vizhub-activity_6_kota_jaswanth
This visualization displays the 2020 populations of 30 countries as horizontal bars, using a linear scale to map population values to bar widths and a band scale for country categories. The React-based application loads data from a CSV file via the `csv` function from D3 v5, processes the population values, and renders the chart as SVG. The code includes custom React components for the bottom axis, left axis with tick labels, and interactive bars that show formatted population values in tooltips. Green bars sit against a white background with blue axis lines, and the chart includes a labeled x-axis.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed