liveBook · Manning

Pseudocode

As explained in D3.js in Action, Third Edition

Pseudocoding is the practice of describing an algorithm in informal, language-independent steps before implementing it in source code.

Pseudocoding describes an algorithm in informal, language-independent steps before implementation. It helps turn variables, geometry, and design goals into workable functions. section 14.6

Planning a spiderweb visualization

Use pseudocode and basic trigonometry to plan SVG paths from radius, angle, center coordinates, concentric rings, and sagging. Revise the mapping and game plan as the visual result develops. section 14.6

How D3.js in Action, Third Edition covers it

How deep it goes
Works through geometric inputs and function planning, but stops short of presenting the pseudocode itself.
Examples
Uses spiderweb spindles, concentric rings, spider placement, and variable-to-visual mappings as planning examples.
What you can do after
Build SVG paths by translating radius, angle, center coordinates, and visual constraints into implementation functions.
How it connects
Connects pseudocode with algorithms, trigonometry, SVG paths, D3 scales, and data visualization.

Also explained in

Compare how 6 books explain pseudocode →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of D3.js in Action, Third Edition. The section links point to the parts of the book it draws on.