Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

harsha act6 que3

Public visualization

Viewing a saved revision (read-only)

4dc43d2bcc93408b8fd5b958f5bf39f6

harsha act6 que3

0 stars1🌍 Public
Ssriharshakondakindi@gmail.com
Last edited Apr 4, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This scatter plot visualizes a car dataset, plotting horsepower on the x-axis against highway MPG on the y-axis. Each circle represents a car, with its color indicating the car's make, as shown in the legend on the right side of the SVG graphic. Built with D3 v6, the code uses `d3.csv` to load the data, `d3.scaleLinear` and `d3.scaleOrdinal` for scaling, and `d3.axisBottom` and `d3.axisLeft` to render the axes. The data originates from a raw CSV file hosted on GitHub.

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.