Assignment2_Task4_Bubble Chart
✓ Published0🌍 Public
This bubble chart compares cereal manufacturers by plotting each product’s rating on the x-axis against its sodium level on the y-axis, with bubble size encoding calories and color distinguishing the seven manufacturers. A legend explains calorie sizes and color-coded manufacturer names. The visualization uses D3 v7 with SVG rendering, employing scales for position (d3.scaleLinear), bubble radius, and color (d3.scaleOrdinal with d3.schemeSet1). It loads data from a local CSV file and includes axis labels and a title.
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