Skip to main content
100%

Activity6-Question1.1

✓ Published0🌍 Public
Aaashishvinayvasala@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024

This horizontal bar chart displays the population of ten countries for the year 2000, ordered along the y-axis with bar lengths encoding values on a linear scale. The visualization is built with React, using D3 v5’s `scaleBand` and `scaleLinear` for layout, and renders SVG rectangles via the `Marks` component. Axes are generated with custom `AxisBottom` and `AxisLeft` components, formatting tick labels with `format('.2s')` to abbreviate large numbers. Data is loaded asynchronously from a CSV file using D3’s `csv` parser.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes