Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
villagef95
Contributor
Contributor

Timeline chart extension - group labels in D3.js and Vanilla.js

Hi guys!

I have the following chart  created in D3.js :  

notGrouped.png

My code to group the labels and the data looks like that: 

rectsCode.pngdata.png

What I need is to group the labels like that: 

grouped.png

I was looking for the proper algorithm but I didn't find anything interesting. Also, I do NOT want to use any libraries like e.g. googleTimeline. Do U have any idea?

Thanks for help!

0 Replies