Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3_Q2

Public visualization

Activity6_Task3_Q2

0 stars0🌍 Public
Ddineshnimmagadda1@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This scatter plot analyzes automobile performance data from 1970 to 1974, visualizing the relationship between horsepower and fuel efficiency (MPG). Each point represents a vehicle model, with its position determined by horsepower (x-axis) and MPG (y-axis). The plot uses different shapes—circles, triangles, and squares—to distinguish the country of origin (American, European, Japanese), as encoded through a `d3.scaleOrdinal` shape scale. The visualization is built with d3.v7, using `d3.csv` to load the dataset, `d3.scaleLinear` for axes, and SVG paths for rendering. Interactive tooltips on mouseover display detailed specifications for each car, while a legend clarifies the shape-to-origin mapping.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed