Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Summary Statistics for Marvel Power Data

Public visualization

Viewing a saved revision (read-only)

1460b926e5a347debe72bbcf657ea978

Summary Statistics for Marvel Power Data

0 stars0🌍 Public
LLeah Mitchell
Last edited Sep 27, 2021
Created on Sep 6, 2021

This example displays summary statistics for Marvel power data, showing the file size in kilobytes, row count, and column count in large text. It loads a CSV file from a GitHub gist using `d3.csv` and formats the output with `d3.csvFormat` to measure data size. The visualization also includes commented alternatives using `fetch` with async/await and `d3.csvParse`, demonstrating different loading approaches. The page renders statistics in a styled `<pre>` element using D3 v5.

AI-generated description

Loading, parsing, and calculating summary statistics for Marvel Power data.

Data from: https://gist.github.com/LeahMitchell/8ad46fbcac8d7420bcd5b97b1a245f43