Skip to main content
100%

Basketball Leagues by Count

✓ Published2🌍 Public
JJosvin John
Last edited Sep 23, 2020
Created on Sep 17, 2020
Forked from Making a Bar Chart

This bar chart displays basketball leagues sorted by the number of games played, with each league assigned a distinct color. The visualization uses Vega-Lite API to encode league names on the x-axis and a count of games on the y-axis, with tooltips showing league and count values. It loads CSV data from a GitHub gist and customizes axis styling through a config object, disabling domain lines and adjusting tick and label colors. The chart renders responsively to the window size using SVG.

AI-generated description

The data shown here comes from Basketball Players Stats per Season dataset. This bar chart shows the various Basketball leagues sorted by the number of games played by each. Each Basketball league is denoted by a different color. This chart also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes