Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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