Skip to main content
100%

Activity6_TASK3(Question)

✓ Published0🌍 Public
Vvinilavoddi@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This scatter plot visualizes the Bubblechart dataset, mapping horsepower on the x-axis, highway MPG on the y-axis, and coloring each point by car make using a custom ordinal color scale. It loads CSV data via `d3.csv`, applies linear scales with `scaleLinear`, and renders SVG circles with axes from `d3.axisLeft` and `d3.axisBottom`. A legend built with SVG rectangles and text labels identifies the makes, using data bound through D3’s `join` method and dynamic element creation.

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