🌍 Public
Viewing a saved revision (read-only)
1c242ed3245644eea9d8252ad4a4f94a
Rank Chart with Menus
This visualization displays a rank chart comparing two selected data attributes from a CSV dataset, with dropdown menus controlling which fields appear on the x- and y-axes. The SVG rendering uses D3 v5 to plot data points as semi-transparent red circles, with axis ticks and labels styled via CSS. The example demonstrates a reusable `dropdownMenu` function that creates HTML select elements with options from the dataset’s column headers. The underlying data includes sales figures by person, store, country, and region, loaded from an external CSV file.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.