How to achieve DrillDown in JavaScript ejTreeMap?
The following steps help you meet the requirement in JavaScript ejTreeMap
Step 1:
Create a TreeMap sample and include the necessary script files.
Step 2:
Set enableDrillDown property as True in order to drilldown the TreeMap elements.
HTML
enableDrillDown: true
You can customize the drilled header color using the drillDownHeaderColor property.
HTML
drillDownHeaderColor: "#199DAF"
You can refer to the following online documentation link for more details about DrillDown.
https://help.syncfusion.com/ug/js/documents/drilldownsupport.htm
Sample Location for TreeMap-DrillDown:
https://ej2.syncfusion.com/home/javascript.html#!/azure/treemap/drilldown
HTML
<script type="text/javascript">
jQuery(function ($) {
$("#treemap").ejTreeMap({
. . .
enableDrillDown: true,
drillDownHeaderColor: "#199DAF",
. . .
levels: [
. . .
]
});
});
</script>
Screenshot:

Figure 1: Before DrillDown

Figure 2: After DrillDown
Conclusion
I hope you enjoyed learning about how to place data labels in JavaScript Chart
You can refer to our JavaScript ejTreeMap feature tour page to know about its other groundbreaking feature representations and documentation, to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!