🌍 Public
Viewing a saved revision (read-only)
fdf1fec4b77b49ca971ac3490e9b342f
Activity6_Question3
This scatterplot shows the relationship between calories and protein content for 77 breakfast cereals, with each point colored by manufacturer. Hovering over a circle reveals the cereal name and its exact values in a tooltip. The visualization uses d3.csv to load the data, d3.scaleLinear for both axes, and d3.scaleOrdinal with d3.schemeCategory10 for color encoding. A legend identifies the manufacturers, while axis labels and gridlines provide context for the quantitative comparison.
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.