Difference between revisions of "Widget:SunlampTableau"

From Open Energy Information

(fixed typo)
(added payback period viz)
Line 18: Line 18:
 
var pagename = document.URL.split('/').slice(-1)[0]
 
var pagename = document.URL.split('/').slice(-1)[0]
  
 
+
// Impact of Technology Cost
 
if (pagename == 'Impact_of_Technology_Cost') {
 
if (pagename == 'Impact_of_Technology_Cost') {
  
Line 40: Line 40:
 
}
 
}
  
 
+
// Location of Emerging S+S Markets
 
else if (pagename == 'Location_of_Emerging_S%2BS_Markets') {
 
else if (pagename == 'Location_of_Emerging_S%2BS_Markets') {
  
$('#viz1504804485327').append("<noscript><a href='#'><img alt='Economical system locations and configurations under different technology cost pointsIn some locations, solar with storage is economical in numerous building types. In other locations, solar-only remains the most economical solution. The pie charts indic ' src='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;RK&#47;RKT87H4Q7&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='path' value='shared&#47;RKT87H4Q7' /> <param name='toolbar' value='yes' /><param name='static_image' value='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;RK&#47;RKT87H4Q7&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /><param name='tabs' value='no' /></object>");
+
$('#viz1504804485327').append("<noscript><a href='http:&#47;&#47;www.cleanegroup.org&#47;ceg-projects&#47;solar-storage-optimization&#47;cost-modeling&#47;'><img alt='Economical system locations and configurations under different technology cost pointsIn some locations, solar with storage is economical in numerous building types. In other locations, solar-only remains the most economical solution. The pie charts indic ' src='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;Locations1&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='SunLampResults-24April2017-forwebv4&#47;Locations1' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;Locations1&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object>");
 
var divElement = document.getElementById('viz1504804485327');
 
var divElement = document.getElementById('viz1504804485327');
 
var vizElement = divElement.getElementsByTagName('object')[0];
 
var vizElement = divElement.getElementsByTagName('object')[0];
Line 51: Line 51:
 
vizElement.parentNode.insertBefore(scriptElement, vizElement);
 
vizElement.parentNode.insertBefore(scriptElement, vizElement);
  
};
+
}
  
 +
// Payback Period
 +
else if (pagename == 'Payback_Period') {
  
 +
$('#viz1504805425662').append("<noscript><a href='http:&#47;&#47;www.cleanegroup.org&#47;ceg-projects&#47;solar-storage-optimization&#47;cost-modeling&#47;'><img alt='Payback-1 ' src='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;Payback-1&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='SunLampResults-24April2017-forwebv4&#47;Payback-1' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;Payback-1&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object>");
 +
var divElement = document.getElementById('viz1504805425662');
 +
var vizElement = divElement.getElementsByTagName('object')[0];
 +
vizElement.style.width='804px';vizElement.style.height='869px';
 +
var scriptElement = document.createElement('script');
 +
scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';
 +
vizElement.parentNode.insertBefore(scriptElement, vizElement);
 +
 +
$('#viz1504805436391').append("<noscript><a href='http:&#47;&#47;www.cleanegroup.org&#47;ceg-projects&#47;solar-storage-optimization&#47;cost-modeling&#47;'><img alt='Impact of technology combination on simple payback period for solar and&#47;or storage systems ' src='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;Payback-2&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='SunLampResults-24April2017-forwebv4&#47;Payback-2' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;Payback-2&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object>");
 +
var divElement = document.getElementById('viz1504805436391');
 +
var vizElement = divElement.getElementsByTagName('object')[0];
 +
vizElement.style.width='804px';vizElement.style.height='869px';
 +
var scriptElement = document.createElement('script');
 +
scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';
 +
vizElement.parentNode.insertBefore(scriptElement, vizElement);
  
</script>
+
$('#viz1504805449108').append("<noscript><a href='http:&#47;&#47;www.cleanegroup.org&#47;ceg-projects&#47;solar-storage-optimization&#47;cost-modeling&#47;'><img alt='As technology costs decline, system sizes increase and simple payback periods decline ' src='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;Payback-3&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='SunLampResults-24April2017-forwebv4&#47;Payback-3' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;Payback-3&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object>");
 +
var divElement = document.getElementById('viz1504805449108');
 +
var vizElement = divElement.getElementsByTagName('object')[0];
 +
vizElement.style.width='804px';vizElement.style.height='869px';
 +
var scriptElement = document.createElement('script');
 +
scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';
 +
vizElement.parentNode.insertBefore(scriptElement, vizElement);
  
 +
}
  
  
 +
</script>
  
  
 
</includeonly>
 
</includeonly>

Revision as of 11:39, 7 September 2017

This widget provides the Tableau visualizations for the Sunlamp webpages.

For example:

{{#Widget:SunlampTableau}}