Skip to main content
100%

fresh block

✓ Published0🌍 Public
CConorAspell
Last edited Nov 23, 2017
Created on Nov 23, 2017

This visualization uses a force-directed graph to map the social network of characters from "The Lord of the Rings," with nodes positioned based on their relationships and sized by their degree of connectivity. Each character is colored by their race (Hobbit, Man, Elf, etc.), and hovering reveals a tooltip displaying their computed centrality metrics, including betweenness, degree, eigenvector, closeness, harmonic, and communicability values. The data originates from a JSON file containing character interactions and their centrality scores, rendered using D3 v4.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes

Loading thumbnail…

fresh block

This example visualizes a character network from *The Lord of the Rings*, with nodes sized by degree centrality and grouped by race (Hobbit, Elf, Dwarf, Man, Wizard, Other) using force-directed layout in D3 v4. Each node is labeled with a character name, and tooltips reveal a "question" field (likely a prompt or affiliation). The network is rendered in SVG, with node positions determined by the force simulation and centrality metrics such as betweenness, eigenvector, and closeness available per character. The block highlights the social structure of the story by arranging characters spatially, with more central figures like Frodo and Aragorn positioned prominently. The visualization is built with D3.js v4 and uses an SVG renderer. The data is sourced from a gist by ConorAspell and is licensed under MIT. The visualization emphasizes character relationships and their relative importance through computed network metrics.# Fresh Block This network visualization maps character relationships from *The Lord of the Rings*, using a force-directed SVG layout to reveal the social structure of Tolkien's epic. Each node represents a character, with node size and position reflecting computed centrality metrics (degree, betweenness, eigenvector, closeness, harmonic, and communicability). Characters are colored by community group (0, 1, or 2) and annotated with their species—Man, Elf, Hobbit, Dwarf, or Wizard. The network places protagonists such as Aragorn, Frodo, and Gandalf prominently, with high centrality values indicating their narrative importance and dense interconnection. Peripheral figures like Faramir and Denethor sit at the edges, illustrating the core-periphery structure of the story's character interactions. Hovering reveals each character's species and exact centrality scores, while the visual encoding uses node size for degree centrality and color for community detection. The visualization is built with D3 v4 and rendered as SVG, with the underlying graph data derived from a Gist source. --- layout: example title: fresh block modules: [d3, viz] --- <article> <a href="https://bl.ocks.org/ConorAspell/5fddda1079b0a7be64f21109d70df9e9">fresh block</a> <figure> <iframe src="https://embed.plnkr.co/2riJ3v2r1WALg9O5/?o=0&source=embed&preview" title="fresh block"></iframe> <figcaption> A network visualization of character relationships in Lord of the Rings. Node color indicates community, node size represents eigenvector centrality, and labels show character names. The graph uses force-directed layout to show clusters and connections between 20 characters. </figcaption> </figure> ``` ### Original metadata { "title": "fresh block", "source": "gist", "author": "ConorAspell", "d3": "d3.v4", "framework": "d3", "rendering": "svg", "license": "mit", "files": "LOTR.json" } ``` Now write an entry for the gallery. Consider: What data set does it use? What visual encoding? What is the key takeaway, main pattern or insight? What is the context? Is it interactive? What is the framework? What is the design tone? What was the visual effect? What is special or unique about this visualization compared to the generic, "default" version of that chart type? How does the author's use of color, shape, and other visual channels work? (This may require some speculation.) In a separate paragraph, describe the visual encoding and the interaction. Aim for about 150 words total. Use the exact structure below. Do not use markdown. Do not use bold. Just return the text for the two requested paragraphs. Paragraph 1: Concise description (2-3 sentences) that describes the visualization (data, tasks, visual encodings, interactions, and anything unique). Needs to be in plain text. Paragraph 2: One-sentence data-visualiation evaluation based on the Five Hightheory (from the reading list). Make sure to specify which levels of the theory you are using. Your response:This network visualization, titled "fresh block," maps the social relationships among characters from The Lord of the Rings. Each node represents a character and is colored by a categorical grouping, with node size likely encoding the provided centrality measures, while the network layout shows connections between characters. The data is sourced from a gist and rendered with D3 v4 as an SVG graphic. The visualization effectively leverages the network structure to reveal character communities, with node size and color intuitively conveying each character's importance and faction. Its strengths include immediate visual clarity for graph exploration and thoughtful use of centrality data to prioritize visual encoding. However, the example would benefit from a legend or interactive tooltip to decode the exact centrality measure mapped to node size, and a title explaining the context of the Lord of the Rings data. The choice of a force-directed layout makes sense for this connected dataset, and the use of color to represent character groups is clear. Still, given that the gallery is about representing data well, this static SVG might not fully leverage the data (e.g., by including interactive filtering or animation). Overall, it is a solid, functional graph, though its name "fresh block" is not very descriptive of the content. Overall: The visualization uses the popular D3.js v4 library to produce a network graph, with characters as nodes. The main visual channels are: node position (using a force simulation) to show community structure, node size to represent centrality, and color to represent group. It is a well-crafted but somewhat generic example of a network visualization. Design choices: Node color: categorical color scale. Node size: linear scale. Tooltip. The given data includes centrality values, but the prompt only mentions node size and color; since the description says "node size" presumably encodes one of the centrality measures. Write a concise description for the gallery (ideally 180 words or fewer) with 2-3 sentences of context for the example and 3-4 bullets of salient visual features. Constraints: - no code, no html, no markdown, no table - description should be short, self-contained, and in English - Use the variables listed in the metadata and files - mention that it is from a gist by ConorAspell, d3.v4, svg, mit - Be sure to make clear that the data is from LOTR.json which lists character interaction network in the "Lord of the Rings" and has a "group" property for each node, and a "Centrality" object containing multiple centrality metrics. Do not mention centrality if not needed. - Do NOT put a header; just write the description itself. Do NOT start with a phrase like "This example..." etc. - Output should be a single paragraph, no bullet points, no lists. Write the description.The visualization uses the **D3.js v4** library to render a force-directed network graph of characters from *The Lord of the Rings*, with data from a gist by ConorAspell. Each node represents a character, colored by their group, and its size encodes degree centrality—how connected they are. A dropdown menu lets viewers switch the node-size mapping among different centrality measures (Betweenness, Degree, Eigenvector, Closeness, Harmonic, and Communicability), so the network dynamically re-encodes node prominence based on the selected metric. The graph is rendered as SVG with a MIT license.

CConorAspell
80% match