Untitled
✓ Published0🌍 Public
This example presents horizontal box plots that summarize highway fuel efficiency (hwy) across different vehicle classes from the ggplot2 mpg dataset. Each box shows the interquartile range, median, and whiskers, with individual data points overlaid. The visualization uses d3.v4 with SVG and animation, employing d3.nest for grouping and summary statistics, d3.scaleBand for the categorical y-axis, d3.scaleLinear for the numeric x-axis, and a d3.scaleSequential with an Inferno color interpolator. A custom tooltip appears on hover, while the axes are drawn using d3.axisLeft and d3.axisBottom.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed