Skip to main content
100%

D3.js Sortable & Responsive Table

✓ Published2🌍 Public
SSeanisgod1994
Last edited Sep 30, 2020
Created on Sep 30, 2020
Forked from Untitled

This interactive table displays Singapore parliamentary election data from a CSV file, showing parties and alliances alongside their SMC and GRC seat counts. Clicking any column header sorts the table rows in ascending or descending order, with ascending and descending sort indicators indicated by arrow glyphs. The example uses d3.csv to load the data and D3’s selection, data binding, and sorting methods to build and reorder the table. CSS media queries and data-th attributes make the table responsive, transforming it from a standard grid into stacked rows on small screens.

AI-generated description
MIT Licensed

Similar vizzes