Use this file to discover all available pages before exploring further.
Evidence provides a rich set of components for building interactive data applications. These components are designed to work seamlessly with SQL queries and make it easy to create professional dashboards and reports.
```sql orders_by_monthSELECT DATE_TRUNC('month', order_date) as month, SUM(revenue) as total_revenueFROM ordersGROUP BY 1ORDER BY 1
## Component PropsMost Evidence components accept common props:- `data` - The query result to visualize- `title` - Component title- `subtitle` - Component subtitle### Chart-specific Props- `x` - Column name for x-axis- `y` - Column name for y-axis- `series` - Column name for series grouping- `xAxisTitle` / `yAxisTitle` - Axis labels- `legend` - Show/hide legend### Styling Props- `colorPalette` - Color scheme for charts- `fillColor` / `fillOpacity` - Fill styling- `chartAreaHeight` - Chart height in pixels## Data FormattingEvidence automatically formats data based on column names and types. You can also use the `fmt` prop:- `fmt=usd` - Currency formatting- `fmt=pct` - Percentage formatting- `fmt=num0` - Number with 0 decimal placesSee the individual component pages for detailed documentation on each component type.## Custom ComponentsNeed something beyond the built-in components? Evidence supports custom Svelte components. See [Custom Components](/components/custom-components) for details.## Interactive FeaturesMany components support interactive features:- **Click events** - Respond to user interactions- **Filtering** - Connect inputs to filter data- **Connected charts** - Synchronize across visualizations- **Downloadable data** - Export charts and tables## Next Steps<CardGroup cols={3}> <Card title="Charts" icon="chart-bar" href="/components/charts"> Explore chart components </Card> <Card title="Tables" icon="table-cells" href="/components/tables"> Learn about data tables </Card> <Card title="Inputs" icon="toggle-on" href="/components/inputs"> Add user inputs </Card></CardGroup>