When using dataURL method

When using dataURL method, you need to encode apostrophe as ' as under:
<chart isSliced='1'>
   <set label='John&apos;s Count' value='420' />
   <set label='Mary&apos;s Count' value='295' />
   <set label='Tom&apos;s Count' value='523' />
</chart>
 

You'll now get the following output:

 
 
When using dataXML method
When using dataXML method, you need to encode apostrophe character to %26apos; - else, you'll get an "Invalid XML error". Following is the full HTML Code to embed the chart:
 

<div id="chart1div">
   This text is replaced by the chart.
</div>
<script type="text/javascript">
   var chart1 = new FusionCharts("Pyramid.swf", "ChId1", "350", "200", "0", "0");
   chart1.setDataXML("<chart isSliced='1' ><set label='John%26apos;s Count' value='420' /><set label='Mary%26apos;s Count' value='295' /><set label='Tom%26apos;s Count' value='523' /> </chart>");
   chart1.render("chart1div");
</script>

 
You will again get the same output as before.