test d3
✓ Published1🌍 Public
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 descriptionAn example including some commonly used features of SVG.
MIT Licensed