Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

data viz d3

Public visualization

data viz d3

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

Comments

Sign in to join the discussion.

MIT Licensed