Skip to main content
100%

D3.js in action - Section 1 - Ch 1 and 2

✓ Published1🌍 Public
AAlbert
Last edited Mar 26, 2021
Created on Mar 25, 2021
Forked from D3 Starter

This example visualizes Twitter engagement by plotting tweets as circles on an SVG canvas, with x-position determined by tweet time using `d3.scaleTime`, y-position by impact score (favorites plus retweets) via `d3.scaleLinear`, and circle radius and fill color mapped from the same metric with additional scales. It loads data from a local `tweets.json` file using `d3.json`, demonstrates data joins with `enter()` and `exit()` selections to update circles based on filtered data, and uses `d3.group` for data manipulation alongside CSV parsing of `cities.csv` that is fetched but unused.

AI-generated description
MIT Licensed

Similar vizzes