Gist 833a8893eb86a523ffc241180a298b1a
✓ Published0🌍 Public
Aakollegger
Last edited Jun 12, 2019
Created on Jun 12, 2019
This example visualizes a movie database as a network graph, showing connections between movies and the people associated with them. The code uses `d3.forceSimulation` to position nodes, with `node.Person` and `node.Movie` styled distinctly by color and caption. Relationships are rendered as labeled links, and the graph displays node IDs or custom fields like `name` and `title` as captions. The styling is defined in a `movies.grass` file, which specifies colors, borders, and text formatting for all element types.
AI-generated description