Skip to main content
100%

Menu-based automobile data summary

✓ Published0🌍 Public
BB Sundaresan
Last edited Jul 16, 2020
Created on Jul 16, 2020

This interactive visualization displays a scatter plot of the classic auto-mpg dataset, with dropdown menus for selecting which numeric columns appear on the x- and y-axes. The chart uses d3.scaleLinear for both axes, d3.axisLeft and d3.axisBottom for tick marks, and d3.extent to compute domains. Selecting a new menu option triggers a re-render, where circles transition smoothly to new positions via the d3 transition method. Built with React and d3.v5, the visualization renders as SVG and includes formatted tick labels using d3.format.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes