Skip to main content
100%

test d3

✓ Published1🌍 Public
Oowenking2710@gmail.com
Last edited Sep 25, 2023
Created on Sep 24, 2023

This example displays a horizontal bar chart of population data for three countries (China, India, and the United States) loaded from a local CSV file. The SVG rendering uses D3 v7’s modular API, including `scaleLinear` and `scaleBand` for axes, with `axisLeft` and `axisBottom` for tick marks. Rectangles are appended to the SVG group and sized according to the scaled population values, while the chart uses a steelblue fill and generous font sizing.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes