Skip to main content
100%

Bubble Chart

✓ Published0🌍 Public
SSharankumar02
Last edited Jul 20, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

This bubble chart compares cereal manufacturers by plotting each product’s rating along the x-axis and sodium level along the y-axis, with circle size encoding calories and color distinguishing manufacturers. The data.csv file is loaded via `d3.csv`, and scales including `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.schemeSet1` position and style the marks. The SVG rendering includes axes via `d3.axisBottom` and `d3.axisLeft`, plus custom legends for bubble size and manufacturer color.

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