Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

test d3

Public visualization

Viewing a saved revision (read-only)

ecb42265732d493b92d499e43ac75bdf

test d3

0 stars1🌍 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.