assign3-4
✓ Published0🌍 Public
This bubble chart compares cereal manufacturers by plotting their products' ratings against sodium levels. Each bubble's position encodes the rating (x-axis) and sodium content (y-axis), while its radius represents calorie count through a linear scale, and its color indicates the manufacturer using a categorical ordinal scale with the `schemeSet1` palette. The visualization, built with D3 v7, uses `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom`/`d3.axisLeft` to render the SVG, with legends for both bubble size and manufacturer colors. Data comes from a local CSV file loaded via `d3.csv`.
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