Get it Right in Black & White + Svelte

Since I am learning Svelte(Kit) to use it in Dataviz, I thought of rebuilding the visualizations from this course in Svelte.

This is where it’s deployed: https://get-it-right-svelte.netlify.app/
And this is the code repo: https://github.com/waseem-medhat/get-it-right-svelte

At the time of writing this post, it is still a relatively early work-in-progress (seriously broken on mobile). But it should be complete by the time I finish the course.

Feedback is most welcome of course!

1 Like

Whoah that’s amazing! Really nice work!

I love the fancy effects on the circles.

1 Like

Oh, thank you, Curran! Glad you like it.

Excellent work Waseem.

Checked your sol-levitt implementation, by importing Mask from Mask.svelte. That is what I liked the most about Svelte. To send the data right into the Html Like tags using attributes.

I had been toying around Svelte for sometime and built re-usable *.svelte for many D3 shapes. Thought you and @curran might find it useful. (or may be suggest some improvements :laughing:)

The *.svelte files in /src/lib directory is implementation multiple charts, importing D3.
Then front end just contains the Svelte Tags, to create the charts. Front end points that might of interests are routes/sample and routes/sample1

1 Like

Thank you so much @Kamalabot! Happy to check out what you created if you’d like to share.

Hi Waseem,
Thanks, here is the repo with the *.svelte files for the charts.

I am working on making the dashboards more responsive by getting the data from a hosted database. The current data download from Github raw-user is very unpredictable and slow…

Hey @waseem-medhat, VizHub now supports Svelte!

Check out these awesome examples