Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually create vegalite specs for all visualisations #38

Open
6 tasks done
KleinRana opened this issue Nov 16, 2023 · 2 comments
Open
6 tasks done

Manually create vegalite specs for all visualisations #38

KleinRana opened this issue Nov 16, 2023 · 2 comments

Comments

@KleinRana
Copy link
Contributor

KleinRana commented Nov 16, 2023

  • Number of concerts per year
  • Distribution over musical genres
  • The top ten creators, based on number of concerts
  • The top ten performers, based on number of concerts
  • Number of concerts per location
  • The top ten production companies, based on number of concerts
@Veldhoen
Copy link
Member

Veldhoen commented Jan 4, 2024

After looking around for a bit, I don't think vega-lite allows you to use an image as fill, like in the top x creators bubble chart

@Veldhoen
Copy link
Member

Veldhoen commented Jan 5, 2024

Creating a map visualization is harder than you would think :')

I used a (somwhat) low-res Geopackage of the Dutch municipalities from here: https://data.overheid.nl/dataset/29b308ad-8e50-43ae-b5a5-4df68f109310 (CC-0 license)
I transformed it to geojson, using the appropriate projection, using ogr2ogr: ogr2ogr -f GeoJSON gemeentes_NL.json <geopackage-file> -t_srs epsg:4326
Now vegalite can be used to plot the map

Possible improvements:

  • Do not load data from github raw URL but locally
  • Use a nicer map (this one has municipality borders, which also have water included)
  • Add all of the concert venues (rather than the top 10)
  • Deal with missing locations

@gb-beng gb-beng transferred this issue from beeldengeluid/labs.beeldengeluid.nl Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants