Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question 3

Public visualization

Viewing a saved revision (read-only)

2e5a915b601641018c5ca1746168ff5d

Activity 6_Question 3

0 stars0🌍 Public
SSiva Kishore Reddy
Last edited Oct 25, 2024
Created on Oct 25, 2024
Forked from Activity 6_Task3.2

This example shows a scatter plot of vehicle performance data, mapping horsepower on the x-axis and weight on the y-axis for ten vehicles across different manufacturers. The visualization uses color-coded symbols from d3.symbolsFill to distinguish each manufacturer, with a legend explaining the shape mappings. Built with d3.v7, the code uses d3.scaleLinear for both axes, d3.scaleOrdinal for shape encoding, and d3.axisLeft/axisBottom for tick marks, while loading the CSV data asynchronously via d3.csv.

AI-generated description