Skip to main content
100%

Bubble Chart in D3

✓ Published2🌍 Public
EEunice Tu
Last edited Feb 23, 2024
Created on Feb 22, 2024
Forked from D3 Starter

This bubble chart visualizes breakfast cereal data, plotting calories on the x-axis against weight on the y-axis. It uses D3 v7 with an SVG rendering approach, loading the dataset from a GitHub gist via `d3.csv`. The chart employs `scaleLinear` for both axes and renders them with `axisBottom` and `axisLeft` on an SVG group element, including a title and subtitle. The code sets explicit margins and dimensions, demonstrating a clean, static scatter-style bubble chart without any interaction or animation.

AI-generated description
MIT Licensed

Similar vizzes