Skip to main content
100%

Vehicle Scatterplot

✓ Published0🌍 Public
SSwapna1915
Last edited Jul 20, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

This scatterplot visualizes the relationship between vehicle horsepower and weight, using red axis labels to highlight each variable. The visualization loads CSV data from a GitHub gist and uses D3 v5's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to map the data points. Each vehicle is rendered as a semi-transparent lime circle on an SVG canvas, with gridlines extending from both axes for easier comparison. The chart includes a title and custom tick styling defined in a separate stylesheet.

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