Skip to main content
100%

Fork of Animated Vehicle Consumption Scatterplot

✓ Published0🌍 Public
Ssidobagga
Last edited Jan 12, 2023
Created on Jan 12, 2023

This fork of the Animated Vehicle Consumption Scatterplot visualizes 2014 vehicle fuel consumption data from dipinpdinesh's GitHub repository. The scatterplot cycles through CO2 emissions, engine size, and cylinder count as the x-axis, plotting each against combined MPG on the y-axis. Using D3.js v6 with selection.join and transition methods, circles animate positions and axes update smoothly. The chart leverages scaleLinear, axisBottom, and axisLeft, with SVG rendering and a timer that reassigns the x-value accessor every 17 seconds.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.

Shows the Vehicle_Fuel_Consumption_Analysis from dipinpdinesh. This data contains vehicles from 2014.

MIT Licensed

Similar vizzes