Skip to main content
100%

Activity6_q3

✓ Published0🌍 Public
Nnandasaipalankius@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This scatter plot visualizes the relationship between horsepower and highway MPG for various car makes, with each point colored by car category (Economy, Standard, Luxury, or Sports). The visualization uses D3 v7 to render SVGs, employing d3.scaleLinear for both axes and d3.scaleOrdinal for categorical coloring. A legend identifies the color-coded categories, while axis labels and a title provide context. The data is embedded in the HTML file, and all rendering is done client-side using standard D3 selection and data-join methods.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes