Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 1 Q Sadvik

Public visualization

Viewing a saved revision (read-only)

99293fc04a374291abf58a1dbad4a336

ICE-7 1 Q Sadvik

0 stars0🌍 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