Skip to main content
100%

Fork of question_3

✓ Published0🌍 Public
JJaswanthkota@my.unt.edu
Last edited Oct 24, 2024
Created on Oct 23, 2024

This example shows a scatter plot of car data, mapping horsepower on the x-axis and highway MPG on the y-axis. Each circle is colored by the car’s make, with a legend listing the makes. The visualization loads CSV data via `d3.csv` from a GitHub repository, scales axes with `d3.scaleLinear`, and assigns colors using `d3.scaleOrdinal` with `schemeTableau10`. Axes are rendered using `d3.axisLeft` and `d3.axisBottom`, and the SVG is created with D3 v6 selections.

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