Bubble Chart
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed