func NewTreeMap() *TreeMap {
	c := &TreeMap{}
	c.initBaseConfiguration()
	c.Renderer = render.NewChartRender(c, c.Validate)
	return c
}
NewTreeMap creates a new TreeMap chart instance.
package charts
import (
	"github.com/go-echarts/go-echarts/v2/opts"
	"github.com/go-echarts/go-echarts/v2/render"
	"github.com/go-echarts/go-echarts/v2/types"
)
type TreeMap struct {
	BaseConfiguration
}
func (TreeMap) Type() string { return types.ChartTreeMap }