Skip to main content
100%

Scatter plot shapes

✓ Published0🌍 Public
DDouglas mochama
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Activity6_Task4

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes