Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Lifestyle_harshithadontha

Public visualization

Fork of Lifestyle_harshithadontha

0 stars0🌍 Public
Tt37674473@gmail.com
Last edited Oct 4, 2025
Created on Oct 4, 2025

This example demonstrates how D3.js can load and display tabular data from a remote CSV file. It shows a preview of the first five rows in a styled, interactive HTML table, along with a summary of the dataset's size (kilobytes, row count, and column count). The code uses `d3.csv` to fetch and parse the data from a GitHub Gist, then dynamically builds the table using the `d3.select`, `append`, and `join` APIs. The table features a sticky header, zebra striping, hover highlighting with an accent bar, and right-aligned numeric columns, all styled via CSS custom properties.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed