Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Javascript First Steps

Public visualization

Viewing a saved revision (read-only)

5560fdc2b0d440be9abbde3e8b4a93da

Javascript First Steps

0 stars1🌍 Public
Ccyriltoneatto965
Last edited Nov 17, 2023
Created on Nov 17, 2023
Forked from D3 first steps

This example demonstrates the foundational steps of building a visualization with D3 and React. It creates a minimal web page with a bare HTML structure and an empty SVG element appended to the body using D3’s `select` and `append` methods. The JavaScript code contains commented-out exercises on array methods like `push`, `forEach`, `filter`, `map`, `reduce`, and `sort`, illustrating how data transformations work in D3. The visualization itself is purely an empty SVG canvas, with no data or shapes rendered, serving as a starting point for learning JavaScript and D3 syntax.

AI-generated description

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

See also React Starter.