Tags

Context 2D

Tag

Context2D is the interface for drawing on a canvas element in HTML. It’s an alternative to SVG for creating visualizations, the same way vector graphics and raster graphics are two different approaches to creating images. Context2D is a raster-based API, which means it draws pixels on a canvas, while SVG is a vector-based API, which means it creates shapes and paths that can be scaled without losing quality. When drawing a lot of elements, Context2D can be more performant than SVG.

Works

Evolution of the extreme right vote in France, 2022-2024

Evolution of the extreme right vote in France, 2022-2024

Personal projects 2024 Context 2D Data Visualization Elections JavaScript Observable

Evolution of voter participation in France, 2022-2024

Evolution of voter participation in France, 2022-2024

Personal projects 2024 Context 2D Data Visualization Elections JavaScript Observable

Shifting Winds of French Politics: Mapping Right and Left Shifts in the 2024 vs. 2022 Elections.

Shifting Winds of French Politics: Mapping Right and Left Shifts in the 2024 vs. 2022 Elections.

Personal projects 2024 Context 2D D3.js Data Visualization Elections JavaScript Observable

Wind effect with particles flowing to the right or left

Wind effect with particles flowing to the right or left

Personal projects 2024 Context 2D D3.js Data Visualization JavaScript Observable