Skip to main content
100%

Route

✓ Published0🌍 Public
SSamir Nandardhane
Last edited May 16, 2023
Created on May 16, 2023

This visualization displays the number of rides for different bike types, filtered by member type and season through two dropdown menus. The horizontal bar chart, rendered with SVG in a React component, uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the quantitative x-axis. Data comes from a CSV file loaded via `d3.csv`, and the interactive dropdowns update the chart by filtering the dataset. The bars include a native SVG `<title>` tooltip on hover to show exact ride counts.

AI-generated description

This visualization is based on the dataset of cocktails collected by alcohol importer and distiller Hotaling & Co. The original dataset was modified to parse out and clean up the ingredients into rows.

The chart can be interactive using the ingredient drop down. The user can enter an ingredient to filter on. The chart will return all of the ingredients included in cocktails containing the selected ingredients.

MIT Licensed

Similar vizzes