fspoettel / arkham.build

Deck builder for Arkham Horror: The Card Game™
https://arkham.build
GNU Affero General Public License v3.0
10 stars 2 forks source link

Add deck composition charts #67

Closed fspoettel closed 16 hours ago

fspoettel commented 2 months ago

Describe the solution you'd like

Image

Additional context From Discord, discussion starts here.

kidManuel commented 1 month ago

I've been thinking about this one as well, I really do use the resource cost curve chart in arkhamdb. Problem is that the package size cost of the most popular charting libraries (D3, Highchart) is QUITE large. Maybe we could cook a simple ad-hoc chart component and just write the logic ourselves? How hard could it be?

fspoettel commented 1 month ago

I think we can lazy load the chunk containing the charts library with a dynamic import, then it does not add to any initial chunk.

Library-wise, I'm quite fond of Victory.