Skip to main content
100%

Gist 954761

✓ Published0🌍 Public
Aandrewxhill
Last edited May 4, 2011
Created on May 4, 2011

This example visualizes a searchable database of geographic layers using a force-directed graph. It shows how individual terms in the `MasterSearch` model link to multiple layers, with nodes and edges laid out via `d3.forceSimulation`. The code queries the datastore with `db.get(db.Key.from_name('MasterSearch','puma'))`, fetching a specific term’s linked layers. Rendering relies on D3’s simulation to position the network, revealing the associative structure between search keys and their corresponding layer references.

AI-generated description

Similar vizzes