Skip to main content
100%

Chess games dataset

✓ Published1🌍 Public
MMartha Cash
Last edited Apr 3, 2023
Created on Jan 23, 2023

This example explores a chess games dataset from Kaggle, showing relationships between game attributes like opening moves, player ratings, and outcomes. It initially displays the raw, parsed CSV data as a JSON-formatted string in a `<pre>` element. The visualization loads the dataset via `fetch` and parses it using the `csvParse` API from D3 v7. The current implementation demonstrates the data-loading pipeline, with the state managed through a `setState` callback and the view updated on each render.

AI-generated description

Chess game dataset from: https://www.kaggle.com/datasets/datasnaek/chess

Features: Game ID: categorical Rated (T/F): categorical Start Time: quantitative End Time: quantitative Number of Turns: quantitaitve Game Status: categorical Winner: cateogrical Time Increment: quantitative White Player ID: categorical White Player Rating: ordinal Black Player ID: categorical Black Player Rating: ordinal All Moves in Standard Chess Notation: (unsure about this once since it's a list of moves) Opening Eco (Standardised Code for any given opening, list here): categorical Opening Name: categorical Opening Ply (Number of moves in the opening phase): ordinal

Questions to explore: What is the win percentage vs. the number of opening moves? What opening move has the highest win percentage? Is there a correlation between opening eco and player ranking? Do number of turns affect win rate?

https://www.kaggle.com/code/ironicninja/visualizing-chess-game-length-and-piece-movement/notebook

MIT Licensed

Similar vizzes