FusionCharts - Building Map : US Map with states

Created using FusionCharts Suite XT - www.fusioncharts.com

by Gagan Sikri

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.maps.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.fint.js"></script>
<script src="http://static.fusioncharts.com/code/latest/maps/fusioncharts.europe.js"></script>
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
    var salesByState = new FusionCharts({
        type: 'europe',
        renderAt: 'chart-container',
        width: '600',
        height: '400',
        dataFormat: 'xml',
        dataSource: '<chart caption="Annual Sales by State" subcaption="Last year" nullentitycolor="#828282" numberscalevalue="1,1000,1000" numberscaleunit="K,M,B" numberprefix="$" showlabels="0" usehovercolor="0" nullentityalpha="1" borderalpha="6" hoveronempty="0" showentitytooltip="0" ><colorrange minvalue="0" startlabel="Low" endlabel="High" code="#e44a00" gradient="1"><color maxvalue="56580" displayvalue="Average" code="#f8bd19" /><color maxvalue="100000" code="#6baa01" /></colorrange><set id="031" value="3189" showtooltip="1" /><set id="016" value="2879" showtooltip="1" /><set id="009" value="920" showtooltip="1" /><set id="036" value="4607" showtooltip="1" /><set id="011" value="4890" showtooltip="1" /><set id="020" value="34927" showtooltip="1" /></chart>'
    }).render();

});