Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
Bbalaaswitha@gmail.com
Last edited Oct 6, 2025
Created on Oct 6, 2025
Forked from D3 Starter

This example displays the first five rows of a shapes dataset in a styled HTML table. It fetches a remote CSV file and renders its columns and rows using the D3.js library’s `d3.csv` method and DOM selection API. The table features a dark blue header, alternating row colors, and hover highlighting via inline CSS. The code explicitly uses `d3.select`, `d3.append`, and `.data()` to build the table structure, while pulling data from a Gist-hosted CSV containing columns like Shape, Color, and Number of Sides.

AI-generated description
MIT Licensed

Similar vizzes