Bubble Chart
✓ Published0🌍 Public
This bubble chart compares cereal manufacturers by plotting each product’s sodium level on the x-axis, rating on the y-axis, and calories as the bubble radius. The color of each bubble encodes the manufacturer. The visualization includes legends for both color and bubble size. It uses D3.js v7 with SVG rendering, reading data from a local CSV file. Key APIs include `d3.csv`, `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.axisBottom`, `d3.axisLeft`, `d3.schemeSet1`, and the `join` method for data binding.
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