Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
Ddaria.daria
Last edited Jan 10, 2023
Created on Jan 10, 2023
Forked from D3 Starter

This example demonstrates a minimal D3 v7 starter template that displays a single large text element in the browser body. The code primarily focuses on JavaScript asynchronous patterns, using the Fetch API to request GitHub user data from the `api.github.com/users/${name}` endpoint and handling HTTP errors through a custom `HttpError` class. The page also runs a `wait()` function that uses `Promise.resolve` and `setTimeout` to illustrate async/await behavior, showing a result after a one-second delay. No data visualization is implemented; the example instead serves as a foundational setup for D3 projects while exploring promise-based workflows.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes