Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity8_Task-4

Public visualization

Activity8_Task-4

0 stars0๐ŸŒ Public
HHarika Metta
Last edited Apr 15, 2024
Created on Apr 15, 2024

This visualization shows the correlation between average horsepower, torque, and highway MPG for various car makes, with each bubble sized by MPG and colored by make. The chart uses D3.js v7 to create an SVG scatterplot with a tooltip that appears on mouseover, revealing the make of each vehicle. The code employs d3.scaleLinear for axes and bubble sizing, d3.scaleOrdinal with interpolateTurbo for colors, and includes a legend for MPG values and color-coded car brands. Data comes from a local CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed