Viewing a saved revision (read-only)
949a17921e7f4191ba32a3dab805ecde
Ayush - Assignment 7
This animated scatter plot visualizes electric vehicle specifications from a Kaggle dataset, plotting driving range in kilometers against price in euros for models in Germany. Each circle represents a vehicle, colored by brand using a D3 ordinal scale with the Tableau10 scheme. Interactive tooltips display car name, range, and price on hover. A legend built with D3 selection methods allows clicking a brand to highlight its vehicles by adjusting circle opacity. The visualization uses D3 scales, axes, and transitions to present the correlation between range and price.
AI-generated descriptionThe data visualized is from dataset "EV_Data" which was used in the 2nd assignment. [Source]: "https://www.kaggle.com/datasets/fatihilhan/electric-vehicle-specifications-and-prices"
The graph represents a scatter plot of electric vehicles, where the driving range is plotted against price. X-axis represents the driving range of the vehicle on a single charge in kilometers. Y-axis represents the price of the electric vehicle in Germany. I have used color saturation to visualize the circles across the graph.
Note: there are a few "NA" values in the dataset which is the reason why we see those points outside the margin of graph.