Films Example Data
This example visualizes a dataset of films using a hierarchical tree layout. It nests films by year and genre, then renders the hierarchy as a node-link diagram in SVG, with circles for nodes and curved paths for links. The code uses d3.nest to group data, d3.hierarchy and d3.tree to compute the layout, and custom link path generation for the curves. The data comes from a CSV file with film titles, genres, years, and other attributes.