[openspending-dev] D3.js Sankey diagram for OpenSpending

José Félix Ontañón felixonta at gmail.com
Mon Aug 12 16:14:32 UTC 2013


2013/8/12 Michael Bauer <michael.bauer at okfn.org>

> Felix,
>
> My version is here: http://mihi-tr.github.io/openspending-sankey/
> I did the whole querying the API etc in javascript - so no route via R. The
> aggregator.js part of the OpenSpending.js is very good for this - the rest
> is bringing the nodes etc up to shape.
>
> Michael
>

Hi Michael!

That has exactly the final user experience I had in mind to build.
This is awsome! Nothing more to say than: work done!

Regards


> On Tue, Aug 06, 2013 at 05:28:22PM -0400, Anders Pedersen wrote:
> > Hi Felix,
> >
> > Really great to see your update and look forward for us to post your
> guide
> > on the blog!
> >
> > A few comments below:
> >
> > On 6 August 2013 12:17, José Félix Ontañón <felixonta at gmail.com> wrote:
> >
> > > Hi Openpending folks!
> > >
> > > I was hacking for a while with D3.js visualizations for a small
> project[1]
> > > about University's budgetary transparency[2] in Spain.
> > >
> > > Anders Pedersen challenged me to built a D3.js Sankey diagram on the
> top
> > > of OpenSpending API, and first steps, so far, an R script[3] that
> queries
> > > OpenSpending API and produces a D3.js Sankey's json input file.
> > >
> > > I'm documenting the details, in order to help people to reproduce it
> with
> > > their own OpenSpending datasets. Next steps, replace the R-script with
> a
> > > javascript glue-code: this way, changes on the data would be refreshed
> > > on-the-fly at the D3.js diagrams. Any help here would be welcomed.
> > >
> >
> > Just looping in Michael and David, who just had a chat over D3 Sankey a
> few
> > days back. Would you have ideas?
> >
> >
> > >
> > >
> > I'm my humble view, an out-of-the-box D3.js visualizations using
> > > OpenSpending as a datawarehouse would be a fancy boost to the project.
> Am I
> > > wrong?
> > >
> >
> > I think having tutorials and suggestions for scripts available in order
> to
> > expand the pool of visualisation tools that can be used with the
> > OpenSpending API is a huge step forward. So your contribution is really
> > awesome!
> >
> >
> > > Regards!
> > >
> > >  [1] http://openkratio.github.com/ugr-presupuestos/
> > > [2]
> > >
> http://blog.openspending.org/2013/06/17/budget-transparency-for-an-open-university/
> > > [3]
> > >
> https://github.com/openkratio/ugr-presupuestos/blob/gh-pages/src/sankey_conversion_openspending.R
> > >
> > >
> > > --
> > > http://about.me/fontanon
> > >
> > > _______________________________________________
> > > openspending-dev mailing list
> > > openspending-dev at lists.okfn.org
> > > http://lists.okfn.org/mailman/listinfo/openspending-dev
> > > Unsubscribe: http://lists.okfn.org/mailman/options/openspending-dev
> > >
> > >
> >
> >
> > --
> > *
> >
> > Anders Pedersen
> >
> > Community Coordinator  |  skype: anpehej  |  @anpe <https://twitter.com/
> >
> >
> > The Open Knowledge Foundation <http://okfn.org/>
> >
> > Empowering through Open Knowledge
> >
> > http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
> > Facebook<https://www.facebook.com/OKFNetwork> |
> > Blog <http://blog.okfn.org/>  |  Newsletter<
> http://okfn.org/about/newsletter>
> >
> > *
> >
> > OpenSpending | http://openspending.org |
> > @openspending<http://twitter.com/openspending>
> >
> > School of Data | http://schoolofdata.org |
> > @schoolofdata<http://twitter.com/schoolofdata>
> >
> >
> > *
> >
> > **
> >
> > *
>
> --
> Data Diva | skype: mihi_tr | @mihi_tr
> The Open Knowledge Foundation | School of Data
> http://okfn.org | http://schoolofdata.org
> GPG/PGP key: http://tentacleriot.eu/mihi.asc
>



-- 
http://about.me/fontanon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/openspending-dev/attachments/20130812/e5c9c686/attachment.html>


More information about the openspending-dev mailing list