Skip to main content
100%

Fork of activity 6_Question

✓ Published1🌍 Public
Ssuchigeneralpur@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from activity 6

This chart displays the population of ten countries in the year 2000 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The code uses React with D3 v5, employing `scaleBand` and `scaleLinear` for coordinate mapping, and renders SVG rectangles through custom `AxisBottom`, `AxisLeft`, and `Marks` components. Data is loaded from a CSV file using `d3.csv`, with population values converted from the ‘2000’ column and formatted using `d3.format`.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes