Skip to main content
100%

Bracket

✓ Published0🌍 Public
PPatrick Wojda
Last edited Mar 9, 2017
Created on Mar 6, 2017

This is a vertical tournament bracket visualization built with D3.js v4, showing match results and winners for teams like Hammarby and Malmö FF. The tree layout uses `d3.tree()` to arrange nodes hierarchically, with `d3.line()` and `d3.curveStep` drawing stepped connector paths between matches. Each node displays team names and scores in overlaid HTML labels positioned via absolute styling, while SVG renders the link lines. The code highlights winning teams with thicker strokes and includes a "spelas nu" (playing now) indicator, making the bracket’s progression clear.

AI-generated description

This is a simple vertical tree diagram written with d3.js v4.

This is designed to be used as a starting point for further development as part of documenting an update to the book D3 Tips and Tricks to version 4 of d3.js.

forked from <a href='http://bl.ocks.org/d3noob/'>d3noob</a>'s block: <a href='http://bl.ocks.org/d3noob/b024fcce8b4b9264011a1c3e7c7d70dc'>Simple vertical tree diagram using v4</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/d5583e0415ee9a0819804e255178592e'>Simple vertical tree diagram using v4</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/0c6d5dd1904b459481cb0a90fe4d1dff'>Simple vertical tree diagram using v4</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/9ded4c611a85ff4abb89d640e34d5ea8'>Simple vertical tree diagram using v4</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/c0c9a986a66bf24be4f8d0263d293c77'>Simple vertical tree diagram using v4</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/9c1c28f2f865b8d616448eb12ad51e06'>Simple vertical tree diagram using v4</a>

mit Licensed

Similar vizzes