Scatter plot shapes
✓ Published0🌍 Public
This example renders a bubble chart of car makes, plotting horsepower on the x-axis, torque on the y-axis, and using circle radius to encode highway MPG. The chart uses d3.csv to load data, d3.scaleLinear for axes and radius, and d3.scaleOrdinal with schemeCategory10 for color-coded legends. SVG circles are generated through data joins, with axes and a legend appended via D3’s axis components.
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