This graph is structured as follows:
- There is a single SVG
<path>
element at the root containing the basic line graph. - Above that, the highlighted lines are SVG
<line>
elements representing important segments. - Above that are the symbols (SVG
<path>
elements generated by d3.js'd3.svg.symbol
generator) for the data points.
I have a number of objections to this approach:
-
Which data point is emphasized? The first, or the second?
-
Even with a transition, it is difficult to come up with a good color that draws over even black.
Against the green or blue we're using for data series, it would be even harder to see.
-
The SVG
<line>
elements don't convey additional information in a non-visual sense.We would have to make significant effort to emphasize what these
<line>
nodes represent