Fork of Fork of Activity 6_Task 1
✓ Published1🌍 Public
This example displays a horizontal bar chart of the 2010 population for about twenty countries, from a CSV file accessed via a URL. Built with React and D3 v5, the SVG visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. The marks are rectangles, and the code includes custom components for axes and tooltips, using D3's `format` function to abbreviate population values. The chart is rendered with a green fill for bars, and its styling is defined in the accompanying HTML.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed