Skip to main content
100%

D3 Hello World

✓ Published1🌍 Public
DDavid Allyn
Last edited Jan 29, 2021
Created on Jan 22, 2021
Forked from D3 Starter

This example displays a simple bar chart of mission counts for four Kerbal characters, with each bar labeled by name and mission total. It uses D3 version 6’s `d3.create` to generate an SVG, then binds the static dataset via `selectAll(...).data(...).join("rect")` for the bars and a similar pattern for text labels. The chart’s width scales directly with the `missions` value, and styling is handled through the included `index.css`. The code demonstrates a minimal, introductory workflow for creating SVG-based visualizations with D3’s data join.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes