Skip to main content
100%

Activity6_Task4

✓ Published0🌍 Public
JJhansi Balla
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from HTML Starter

This bubble chart visualizes the correlation between average horsepower and torque for various car manufacturers, where the size of each bubble represents the highway MPG and the color encodes the car make. The chart maps horsepower on the x-axis and torque on the y-axis, with numeric axes and a legend for circle sizes. Built with D3.js v7, it uses `d3.scaleLinear` for axes and bubble sizing, `d3.scaleOrdinal` for color mapping, and `d3.interpolateTurbo` for generating a color palette. Interactive tooltips appear on hover, displaying the make of each vehicle, while the visualization is rendered as SVG with a static dataset from a CSV file.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes