Digital & Data Literacy Task 4
This interactive data visualization uses a D3.js v3 force-directed tree layout to display a hierarchical breakdown of a fictional football league’s results. The tree shows team statistics, including total points, win/draw/loss counts, goal difference, and games played, with data sourced from a JSON file. Users can click on parent nodes to expand or collapse branches, revealing child details. The rendering relies on SVG paths and circles, with the visualization overlaid on a football pitch background image. The code uses `d3.layout.tree`, `d3.svg.diagonal`, and `transition` methods to animate node position changes smoothly.