Whatever message this page gives is out now! Go check it out!

Create a pyramid chart in ColdFusion

Last update:
May 18, 2026
A pyramid chart is a visual representation that displays data in a hierarchical order, arranged in a triangle shape. Each section of the pyramid represents a different category.
Pyramid charts are particularly useful when you need to show hierarchical structures or progressive orders.
Example
<cfset value1="92">
    <cfset value2="70">
    <cfset value3="62">
    <cfset value4="87">

    <cfchart format="html" showLegend="FALSE">
        <cfchartseries type="pyramid">
                    <cfchartdata item="English" value="#value1#">
                    <cfchartdata item="Science" value="#value2#">
                    <cfchartdata item="Math" value="#value3#">    
                    <cfchartdata item="History" value="#value4#">
                </cfchartseries>
    </cfchart>
Output

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page