Skip to main content
100%

task 3 question

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

This scatter plot visualizes car dataset attributes, plotting horsepower on the x-axis against highway MPG on the y-axis, with points colored by car make. The D3 v6 code uses `d3.csv` to load data from a GitHub-hosted CSV, then applies `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.schemeTableau10` for categorical colors, and `d3.axisLeft` and `d3.axisBottom` for tick marks. A legend maps colors to makes, and SVG circles represent each vehicle.

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