Skip to main content
100%

Bubble Chart

✓ Published3🌍 Public
LLakshmanRangisetti
Last edited Jul 16, 2023
Created on Jul 16, 2023
Forked from Hello VizHub

This bubble chart compares cereal manufacturers by plotting each product’s sodium level on the x-axis, its rating on the y-axis, and its calorie count as the bubble radius. Manufacturers are distinguished by color using `d3.scaleOrdinal` with the `d3.schemeSet1` palette. The code loads data from a CSV file, builds the visualization with SVG, and includes legends for both bubble size and color. All axes, scales, and labels are created using standard D3 v7 methods such as `d3.scaleLinear` and `d3.axisBottom`.

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