Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 first practice

Public visualization

D3 first practice

0 stars1🌍 Public
GGiorgi Xiaoyu Zhang
Last edited Dec 29, 2022
Created on Dec 28, 2022
Forked from HTML Starter

This example demonstrates a minimal setup for using D3 within a React project. It logs two arrays to the console: one generated by a custom `simulatedRange` function that manually builds an array of numbers, and another produced by D3's `range(10)` utility. The visualization itself is a bare HTML page with no visual output, highlighting the console-based comparison between a hand-rolled loop and D3's built-in `range` API from the `d3` library.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed