Skip to main content
100%

Interactive Baby Names with ggvis

✓ Published0🌍 Public
CCliffordAnderson
Last edited Oct 1, 2016
Created on Oct 1, 2016

This example visualizes the frequency of baby names over time, plotting the number of births per year for a selected name among females. An interactive dropdown menu lets the viewer choose one of ten sample names, and the chart updates to show that name’s trend. Built with R’s `ggvis` package, the code uses `input_select` for the menu and `filter` to subset the data, while `add_axis` formats the year and y-axis labels. The dataset comes from the `babynames` package, and the visualization renders points for each year.

AI-generated description

Similar vizzes