Blog

So…..

The issues with embedding from Tableau are annoying, and have been annoying me. I know how much time these things can suck out of the limited time-receptacle that contains thesis production, so I really want to fix this asap.

My feeling was that this is an issue of WordPress.com vs WordPress.org. There is very little option for customisation of WordPress.com beyond the themes and options provided, and there is no facility to adjust CSS, without paying a fee, and frankly, if I’m going to pay for the privilege of tweaking the CSS I’d much rather pay for full hosting instead of just an add-on.

So, I decided to check it out by posting the embed code to my academic website, also WordPress, but hosted by Reclaim Hosting. It worked perfectly, fully embedded and interactive as it should be. Great. Ish.

Screenshot (247)

No silly arrow, no display issues, link here: http://continuousflux.com/uncategorized/testing-testing-123/

The question now is what to do? Do I just pay for hosting, or persevere with a less-than perfect product which fails to do one of the most basic things a website should do?

Advertisements

Slog

It seems the process is never easy; never straightforward. I have created some really visually impactful data visualisations using Tableau Public, but the embedding is proving to be an irritation. The embeddd data visualisations come up with a “play” type arrow in the centre, but the arrow does nothing, and obscures the view and use of the embedded image.

Screenshot (245)

I have played around with the theme to see if it’s just because of space, but that doesn’t seem to make any difference.

Right now, it seems the best solution that will allow me to just get on with it is to use a picture of the data viz, and then provide the link to Tableau underneath, but that’s not ideal, and it’s not what I wanted.

Screenshot (242)Screenshot (236)Screenshot (237)Screenshot (243)Screenshot (239)Screenshot (241)Screenshot (238)

I definately didn’t have this problem the last time I embedded from Tableau.

It’s a slog to get these niggles ironed out, an irritating slog.

Mortality Rates, Male

Mortality Rate (per 1,000 male adults)

var divElement = document.getElementById(‘viz1501608706484’); var vizElement = divElement.getElementsByTagName(‘object’)[0]; vizElement.style.width=’100%’;vizElement.style.height=(divElement.offsetWidth*0.75)+’px’; var scriptElement = document.createElement(‘script’); scriptElement.src = ‘https://public.tableau.com/javascripts/api/viz_v1.js’; vizElement.parentNode.insertBefore(scriptElement, vizElement);

The Map Zone

Getting in the map zone now. Once I have all the data viz I need I can actually start putting the data journalism piece together.

Improved Water Source, % of population with access

var divElement = document.getElementById(‘viz1501595991275’); var vizElement = divElement.getElementsByTagName(‘object’)[0]; vizElement.style.width=’100%’;vizElement.style.height=(divElement.offsetWidth*0.75)+’px’; var scriptElement = document.createElement(‘script’); scriptElement.src = ‘https://public.tableau.com/javascripts/api/viz_v1.js’; vizElement.parentNode.insertBefore(scriptElement, vizElement);

Data Collection

I now have all my data, and I have an awful lot of it. This isn’t even everything I’ve got:

Screenshot (230)

I’ve gathered nearly of my recent data from the World Bank website, it allows the option to download very specific pieces of data, and that function will save me a considerable amount of time. The data is already pretty clean too, which really helps. Now all I need to do is decide which data best expresses what I want to express, or see what patterns emerge.

http://databank.worldbank.org/data/reports.aspx?Report_Name=Freshwater-usage&Id=f0dd3498#

Screenshot (229)

Maps, Maps, More Maps

Annual freshwater withdrawals, industry (% of total freshwater withdrawal) 2014

Using Tableau Public, I have created some visually interesting maps showing commercial water usage worldwide, links here; https://public.tableau.com/views/Industry_19/Sheet1?:embed=y&:display_count=yes&publish=yes

I’m sure water usage, especially excessive freshwater usage for economic reasons is contributing to environmental degradation, and I have included research in my thesis relating to this, link here; https://www.hydrol-earth-syst-sci.net/18/1027/2014/

Groups of Data

An interesting development is in the combinations of data available, and the implications of that. I have found data about alternative and nuclear energy lumped together, and also about communicable diseases and nutrition conditions. While I understand there is some logic to these groupings, it also skews the data. As far as I am concerned, nuclear energy should not be considered “ethical” or environmentally sustainable, it produces huge amounts of impossible to dispose of waste, and has lasting consequences for the environment and for human health. The only connecting factor here is that the fuel types are not fossil fuels, but unless we can see the breakdown within that data, we can’t really get a clear picture of ethical, environmentally sustainable¬†energy use.

In other news, I created a gorgeous map using Tableau, but it won’t let me save it. Typical.

Screenshot (225)

 

End.

I give up with the World Bank’s tool. They can keep it…tempting me with their beautiful maps and then keeping them just out of reach. Life is too short. Tableau I forgive you for the previous trauma, and I return, shame-faced, to your warmth and understanding.