Skip to main content
100%

Untitled

✓ Published0🌍 Public
Ssaikrishnabussa
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from HTML Starter

This example presents a static scatter plot that visualizes the relationship between engine horsepower and fuel efficiency (MPG) for a small set of car brands, including Ford and BMW. Built with React and D3.js (v7), the SVG visualization uses `d3.scaleLinear` to map data to axes and `d3.schemeCategory10` for color coding, with a legend identifying each brand. Mouse interactions trigger a tooltip that displays the brand, horsepower, and MPG values. The chart includes labeled axes and a title, all rendered through SVG elements.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes