Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question 3

Public visualization

question 3

0 stars1🌍 Public
Aasheshpinisetti@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from tutorial 3.2

This scatter plot shows the relationship between horsepower and highway MPG for vehicles, with each point's shape encoding the vehicle make. The visualization uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to map data to positions and shapes. Axes are rendered with `axisLeft` and `axisBottom`, while a custom `shapeLegend` displays the categorical mapping. The data loads from a CSV hosted on GitHub, and the plot fills the browser window, updating dynamically as new data arrives.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed