Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter_plot_iCE7

Public visualization

Viewing a saved revision (read-only)

e5d4148c84334f1eb889bddc3d61f75b

Scatter_plot_iCE7

0 stars0🌍 Public
Nnikhilagopi
Last edited Mar 21, 2023
Created on Mar 21, 2023

This scatter plot shows the relationship between average horsepower and average torque for various car brands, with each point colored by manufacturer. The visualization uses D3.js v6 within a React framework, rendering as an SVG. The code reads data from a CSV file and employs `d3.csv`, `d3.scaleLinear`, and `d3.axisBottom`/`d3.axisLeft` to construct axes. Interactive tooltips appear on hover, displaying the brand and exact values, while a categorical color scale (`d3.scaleOrdinal`) differentiates brands in the legend.

AI-generated description