oh, and here's my final code in case it might help a newbie. <cfquery name="getsearches" datasource="#DSN#"> SELECT COUNT (*) AS thecount, searchterm FROM tblsearches GROUP BY searchterm ORDER BY thecount DESC </cfquery>
The chart: <cfchart format="flash" backgroundcolor="##EEEEEE" chartheight="600" chartwidth="900" showborder="yes" show3d="yes" showlegend="yes" title="Top Searches On WCS" xaxistitle="Search" yaxistitle="Number of searches"> <cfchartseries query="getsearches" markerstyle="snow" itemcolumn="searchterm" valuecolumn="thecount" serieslabel="searchterm" type="bar"> </cfchartseries> </cfchart> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203752 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54