Skip to main content
100%

Filtering Data Correctly

✓ Published0🌍 Public
GGayan Priyadarshana
Last edited Aug 29, 2023
Created on Aug 29, 2023

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 description
MIT Licensed

Similar vizzes