d3

28 bookmarks
2022-12-22 · observablehq.com

Orthographic shading / D3 | Observable

Step 1. Create a grid Use d3.geoGraticule10 to create lines of constant longitude and latitude. Step 2. Apply clipping Set projection.clipAngle to 90° to show only the front hemisphere. Stroke the outline of the sphere to better separate the globe from the background. Step 3…

2022-12-22 · observablehq.com

Adaptive Sampling

D3’s projections use adaptive sampling to increase the accuracy of projected lines and polygons while still performing efficiently. Without sampling, only the input vertices of polygons are projected. This results in the artifacts (visible above) due to projected lines becoming…

2022-01-16 · flowingdata.com

D3 in Depth

D3 is the most commonly used JavaScript library for visualization on the web, but there’s a bit of learning curve, especially for those new to programming. Peter Cook hopes to make this begin…

2022-01-16 · christopheviau.com

D3list

2020-12-24 · observablehq.com

Gallery / D3 / Observable

Looking for a good D3 example? Here’s a few (okay, …) to peruse. Animation D3’s data join, interpolators, and easings enable flexible animated transitions between views while preserving object constancy. Interaction D3’s low-level approach allows for performant incremental…

2020-11-29 · observablehq.com

D3 6.0

D3 6.0 embraces modern JavaScript (ES2015) to help you work with data! 🥳 D3 now uses native collections (Map and Set) and accepts iterables. d3.group and d3.rollup are powerful new aggregation functions that replace d3.nest and work great with d3-hierarchy and d3-selection…

2020-05-06 · blog.scottlogic.com

Rendering One Million Datapoints with D3 and WebGL

This blog post introduces the WebGL components which we recently added to D3FC, this suite of components make it easy to render charts with very large numbers of datapoints using D3. Throughout this post I'll describe the creation of the following visualisation, which displays 1…

2020-03-09 · observablehq.com

Introduction to D3 / MIT Visualization Group / Observable

So far in 6.859, we've primarily been working with visual analysis grammars like Vega-Lite or VizQL (Tableau). These grammars break visualization design down into a process of specifying mappings (or visual encodings) between data fields and the properties of graphical objects…

2020-02-19 · observablehq.com

Zoomable Area Chart

This zoomable time series area chart shows the number of flights per day. The effect of the September 11, 2001 attacks on air travel is evident.

2019-12-23 · observablehq.com

Bar Chart Race, Explained

This is a pedagogical implementation of an animated bar chart race. Read on to learn how it works, or fork this notebook and drop in your data! The data for the race is a CSV with columns date (in YYYY-MM-DD format), name, value and optionally category (which if present…