Vehicle Scatterplot
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed