Skip to main content
100%

Line Chart

✓ Published0🌍 Public
LLauren
Last edited Feb 27, 2023
Created on Feb 27, 2023

This example positions simple geometric shapes to represent the physical locations of trees over time. An array of odd numbers indexes fifty points, while two parallel arrays drive the x and y positions. D3’s `interpolateRdYlGn` color scale maps data values to a green-to-red gradient, and the visualization uses the SVG `path` and `circle` marks. Global tree cover in the code is a parabola, not real geographic data. Referencing the D3 v7 library, the visualization demonstrates fundamental positioning and color-mapping channels for future GPS-coordinate data.

AI-generated description

Pseudo visualization which includes some of the marks and channels needed to visualize the change in global tree cover since 2000. This includes color mapping, and x and y positioning. I have visualized a parabola to demonstrate the x and y locating, which will come from the GPS coordinates!

MIT Licensed

Similar vizzes