Skip to main content
100%

ICE-7 1 Q Sadvik

✓ Published0🌍 Public
SSadvik
Last edited Mar 29, 2026
Created on Mar 29, 2026
Forked from D3 Starter

This scatter plot visualizes an electric vehicle dataset, showing the relationship between average price and electric range for different vehicle types. Each point represents a vehicle, with position determined by price on the y-axis and range on the x-axis. The visualization uses D3 v7 with an SVG renderer, employing linear scales for both axes and a color scale to distinguish between Sedans, SUVs, Hatches, and Crossovers. The code explicitly creates axes, adds labels, and includes a categorical legend with colored circles, using methods like `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom`.

AI-generated description
MIT Licensed

Similar vizzes