Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question3

Public visualization

question3

0 stars0🌍 Public
Eeedaraajay02@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This scatter plot visualizes car data, showing the relationship between horsepower on the x-axis and highway miles per gallon on the y-axis, with each point colored by car make. The visualization uses D3 v6, loading data via `d3.csv` from a GitHub repository. It employs `scaleLinear`, `scaleOrdinal`, and `schemeTableau10` for scales and colors, rendering circles as SVG elements. The chart includes custom axis labels and a legend, with axes created using `axisLeft` and `axisBottom`.

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.

Comments

Sign in to join the discussion.

MIT Licensed