Bubble Chart
✓ Published0🌍 Public
This bubble chart compares cereal products by manufacturer, plotting sodium levels on the x-axis and cereal rating on the y-axis, with bubble size encoding calorie content and color distinguishing manufacturers via a d3.scaleOrdinal and the d3.schemeSet1 color palette. The visualization renders as an SVG using D3 v7, loading data from a CSV file and including custom legends for both bubble size and manufacturer color. Axes are generated with d3.axisBottom and d3.axisLeft, and the chart includes labeled titles for clarity.
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