Filtering Data Correctly
✓ Published0🌍 Public
This example shows a data table of drug price changes across pharmaceutical companies, filtered by assessment frequency (Daily, Weekly, BiWeekly, Monthly) via a dropdown menu built with the d3.menu component. The table displays the 12 most recent year-month columns, with cell colors based on change-value quartiles computed from the data. It uses d3.csv to load the dataset and d3.group to aggregate rows by company name, with table elements created dynamically.
AI-generated descriptionMIT Licensed