Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

sekhar que3

Public visualization

sekhar que3

0 stars0🌍 Public
SSekharofficial2022@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 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 each point colored by car make. It loads CSV data via `d3.csv`, uses `scaleLinear` for both axes, and applies `scaleOrdinal` with `schemeTableau10` for categorical color encoding. Circles are rendered in an SVG canvas, with axes generated using `axisLeft` and `axisBottom`, plus a legend built from the color scale’s domain. The visualization demonstrates D3 v6 data loading, scaling, and SVG rendering.

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