Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data - Goodreads Books

Public visualization

Viewing a saved revision (read-only)

ec370819518a41fd99ad9922e4cfbe08

Loading Data - Goodreads Books

0 stars0🌍 Public
AAlexis Caira
Last edited Sep 4, 2025
Created on Sep 3, 2025
Forked from Loading Data

This example demonstrates the initial step of a data visualization pipeline: loading a Goodreads dataset from a CSV file. It shows raw JSON-formatted data in a `<pre>` element, with attribute names and values like book titles and ratings clearly visible. The code uses D3 v7's `csvParse` and `select` within a state-management pattern, where `fetch` retrieves the file and `setState` updates the view after parsing. The visualization itself is minimal, displaying the loaded data structure without any graphical encoding.

AI-generated description