Skip to main content
Public

Share visualization

Loading preview…

Menus

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Menus

0
Ssergiofco
Last edited Feb 18, 2023
Created on Feb 18, 2023

This interactive visualization displays a scatter plot of automobile data from the UCI Machine Learning Repository’s Auto MPG dataset, allowing users to explore relationships between variables. Two dropdown menus enable the selection of which columns to map to the X and Y axes, with the selected options dynamically updating the plot. Built with D3.js v4, the visualization uses `d3.scaleLinear` for axes, `d3.axisLeft` and `d3.axisBottom` for ticks, and animated circle transitions via `transition().duration(2000)` to smoothly reposition data points. The underlying code also includes a bubble chart variant using `d3.forceSimulation` with `d3.forceRadial` and `d3.forceManyBody` forces, though the primary view shown is the scatter plot.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set. The user can select which columns map to X and Y using dropdown menus.

Comments

Sign in to join the discussion.

MIT Licensed