Skip to content

See a visual representation of Yu-Gi-Oh! card stats (ATK, DEF, and Level/Rank). Allow for filtering based on Attribute, Type, and Category.

License

Notifications You must be signed in to change notification settings

YawarRaza7349/YuGiOhCardStatCorrelations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YuGiOhCardStatCorrelations

This was a project for my Data Visualization class. This shows a two-dimensional grid where the x and y-axes correspond to a user-selected stat (either ATK, DEF, or Level/Rank) on a Yu-Gi-Oh! monster card. You can also select a color-scheme using the "Color" dropdown (which has no meaning relating to the data; it is purely an aesthetic effect).

By default, the grid will account for all monster cards, but you can filter which cards you want the grid to show by Attribute, Type, and Category. If you choose a value for any of these dropdowns, the grid will only show cards of that Attribute/Type/Category. Choosing values for multiple dropdowns will narrow the results further, as the cards must satisfy all filter criteria.

If you click on a cell, you'll see the monsters corresponding to that cell. ATK and DEF are rounded down to a multiple of 100. So if the x-axis is set to ATK and the y-axis is set to DEF, and you click the (10, 10) cell, you'll see all monsters (satisfying the current filter) with an ATK between 1000 and 1099 (inclusive) and a DEF between 1000 and 1099 (inclusive). Each monster has a link to their corresponding Yu-Gi-Oh! Wikia page (although since these URLs are generated based on their name, some of the links may be incorrect, but most of them work).

The data was scraped from Yu-Gi-Oh! Card Guide and transformed into a JavaScript literal list of objects. This was because there was a lot of data, and parsing it through code at run-time would be slow. This literal exists in a separate .js file, and is assigned to a variable, which is accessible through the main code.

The repo contains all necessary source code. A JSFiddle can be found here for convenience.

Only the source code (not the data) is available through the MIT License in the LICENSE file. This application is not affiliated with Yu-Gi-Oh!, the Yu-Gi-Oh! Wikia, or the Yu-Gi-Oh! Card Guide.

About

See a visual representation of Yu-Gi-Oh! card stats (ATK, DEF, and Level/Rank). Allow for filtering based on Attribute, Type, and Category.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages