Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity 6_Question 3

Public visualization

Activity 6_Question 3

0 stars0๐ŸŒ Public
MMonish Galla
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This scatter plot visualizes automobile data, mapping horsepower on the x-axis, torque on the y-axis, and highway mpg as the radius of each steel-blue circle. It loads a CSV file from GitHub using d3.csv, parses numeric fields, and applies d3.scaleLinear for all three dimensions. Axes are rendered with d3.axisLeft and d3.axisBottom, while SVG circles are positioned via mouse coordinates. The chart fills the browser window using window.innerWidth and innerHeight, with axis labels styled in green Times font.

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