If you’d like to display interactive data visualizations in your Discourse’s posts, do I have the plugin for you.
###Introducing…
#[ discourse-blocks ] (https://graphme.io/t/how-does-life-expectancy-correlate-with-a-countrys-gdp-per-capita/204/3) Live demo
To install, add this, as normal, to app.yml
:
- git clone https://github.com/jgujgu/discourse-blocks.git
But also please add these under env
by the other variables in app.yml
. You can generate them if you have a Github account:
GITHUB_CLIENT_ID: "a_github_client_id"
GITHUB_SECRET_KEY: "a_longer_github_secret_key"
Visit Github for a full list of screenshots:
I am currently running 1.8+
, but it worked just fine on ~1.6
as well.
What does this plugin really do? (since you didn’t click the live demo )
If a poster inserts a link to a Github Gist with an index.html
file, this plugin will render it and any code + files that run alongside it. Essentially, anything that bl.ocks made famous and blockbuilder makes convenient to create will render through this plugin. The bulk of examples are data visualizations, but a block
need not be.
If you have a question or feedback, feel free to post it here or here.
Alongside this plugin, I would also like to invite you to join graphme, answers that show not tell
|:chart_with_upwards_trend:|:page_facing_up:|:chart_with_upwards_trend:|:chart_with_upwards_trend:|:page_facing_up:|:chart_with_downwards_trend:
|:chart_with_upwards_trend:|:chart_with_upwards_trend:|:chart_with_upwards_trend:|:chart_with_upwards_trend:|:chart_with_downwards_trend:|:chart_with_downwards_trend:
|:chart_with_upwards_trend:|:page_facing_up:|:chart_with_upwards_trend:|:chart_with_upwards_trend:|:page_facing_up:|:chart_with_downwards_trend:
|:page_facing_up:|:page_facing_up:|:chart_with_upwards_trend:|:chart_with_upwards_trend:|:chart_with_downwards_trend:|:chart_with_downwards_trend:
|:page_facing_up:|:page_facing_up:|:chart_with_upwards_trend:|:chart_with_upwards_trend:|:page_facing_up:|:chart_with_downwards_trend:
This is (ahem will be) a Q&A site that welcomes interactive graphs, diagrams, and infographics as answers. If you have a potentially graphical question needling you in the back, please do ask it there. I’m sure it is interesting if it’s doing that.