W3C Validation Errors
This example shows the most common W3C validation errors, ranked by frequency, using a horizontal bar chart. A gray bar represents each error’s count, and hovering highlights it in steelblue while the error message is displayed to its left. The data comes from a JSON file, loaded with `d3.json`, and the chart is built with D3 v3’s ordinal scale and SVG. The bars are drawn as `rect` elements, with axes using `d3.svg.axis` and a linear scale for the value domain.
AI-generated descriptionSource: W3CLove.
Pie charts are intended to show how one value compares to the whole. Since validation errors are not mutually exclusive (a single page can fail validation for multiple reasons), and the top 10 (or 100) reasons constitute an arbitrary whole, a bar chart is more suitable.