Skip to main content
100%

Bubble chart

✓ Published0🌍 Public
Ppjdhungana@gmail.com
Last edited Jul 25, 2023
Created on Jul 16, 2023
Forked from Hello VizHub

This bubble chart displays the correlation between average potassium, sodium, and carbohydrate levels across different breakfast cereals. Each circle represents a cereal brand, with its position determined by potassium and sodium values, while its radius encodes carbohydrate content and color maps to the cereal name. The visualization includes interactive tooltips that appear on hover, as well as legends for both circle size and color. Implemented with D3 v7, the chart loads data from a CSV file, uses SVG for rendering, and employs d3.scaleLinear, d3.scaleOrdinal, and d3.interpolateTurbo for visual encoding.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes