Scatter Plot with Menus X Y Only
An interactive scatter plot visualizes the Auto MPG dataset, allowing users to select which variables to plot on the X and Y axes via dropdown menus. Built with React and the Redux state management library, the visualization uses d3-component for componentized rendering. Points animate between positions when axes change, with a tooltip showing details on hover. The code leverages D3's scaleLinear and extent functions to compute scales dynamically from the selected data columns.
AI-generated descriptionThis example demonstrates usage of a new library called d3-component and Redux to create a scatter plot with menus for X, Y, and color, and some animations. It's an experiment to see how things play out when pairing D3 directly with Redux, without React in the middle.
The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set.
Built with blockbuilder.org
forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/685fa8300650c4324d571c6b0ecc55de'>Spinner with d3-component</a>
<!-- Start of SimpleHitCounter Code --> <div align="center"><img src="http://simplehitcounter.com/hit.php?uid=2240182&f=16777215&b=0" border="0" height="18" width="83"></a></div> <!-- End of SimpleHitCounter Code -->forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/8c131a74b85d0bb0246233de2cff3f52'>Scatter Plot with Menus X Y Only</a>