Skip to main content
100%

Varun_6_Question3

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

This scatter plot visualizes a car dataset, mapping horsepower on the x-axis against highway MPG on the y-axis, with points colored by car make using a legend. Built with D3 v6, it loads CSV data via `d3.csv`, scales axes with `scaleLinear` and colors with `scaleOrdinal`, and renders circles as SVG elements. The chart includes labeled axes and a color legend, demonstrating data loading, scaling, and SVG rendering within a full-screen viewport.

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