use d3 for bagua drawing