Skip to main content
100%

data viz d3

✓ Published0🌍 Public
Aannprzy
Last edited May 31, 2021
Created on May 31, 2021
Forked from SVG Playground

This example shows a horizontal bar chart of planetary diameters, sorted in descending order from Jupiter to Pluto. The visualization uses D3 v6’s `scaleLinear` and `scaleBand` to map diameter values and planet names, rendering SVG rectangles bound to data from a CSV file. The chart reads the `planets.csv` dataset, converting the `Diameter` field to numbers, and displays a clean, static layout with margins and a white background.

AI-generated description

A template for creating SVG with D3 and CSS.

MIT Licensed

Similar vizzes