Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question 3

Public visualization

Question 3

0 stars2🌍 Public
Cchintamanenithp@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This scatter plot visualizes car dataset attributes, mapping horsepower on the x-axis and highway MPG on the y-axis, with car make encoded by color. The visualization loads CSV data from a GitHub repository and renders circles in an SVG using D3 v6. It demonstrates core D3 APIs including `csv`, `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `schemeTableau10` for color coding, alongside custom margin and legend positioning.

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