Skip to main content
100%

Dynamic Programming

✓ Published2🌍 Public
VVlad Bogo
Last edited Jan 6, 2021
Created on Dec 21, 2020

The visualization displays the first 40 Fibonacci numbers as a vertical sequence of text labels, with each number rendered in an SVG text element. It compares classic recursive, memoized recursive, and iterative implementations of the Fibonacci function, logging results to the console. Using D3 v5, the code computes values via `simpleFib` and binds them to SVG text nodes with `svg.selectAll()`. The data comes from the United Nations World Population Prospects 2019, though the visualization itself focuses on algorithmic outputs rather than demographic data.

AI-generated description
MIT Licensed

Similar vizzes