KPI Widget 01
✓ Published0🌍 Public
This KPI widget displays 12 months of performance data as a bar chart, contrasting actual values against targets with confidence intervals rendered as error bars. The visualization uses D3 scales and axes (`scaleBand`, `scaleLinear`, `axisBottom`, `axisLeft`) within an SVG container. React 18 manages the root element, while the code directly appends SVG elements via D3 selections. Dummy data hard-coded in the script drives the monthly periods, with target bars showing a fixed goal and error bars spanning upper and lower bounds.
AI-generated descriptionReact Starter code.
MIT Licensed