Building A User-Facing Dashboard With ClickHouse and Luzmo
A user-facing analytics dashboard for a property management app can be built by pairing ClickHouse as the columnar analytical store with Luzmo for embedded visualizations, using the UK house price dataset from the ClickHouse Playground. The walkthrough covers connecting ClickHouse to Luzmo, adding derived columns, filters, drill-downs and measure pickers, then embedding the dashboard. Row-level access is enforced by defining a County parameter filter on the dataset and generating a server-side embed token via the Luzmo Node.js SDK with per-user parameter_overrides. The token is then passed to a luzmo-dashboard web component on the frontend.
Related posts
- Building an agentic app with ClickHouse MCP and CopilotKit
ClickHouse mediumAdept
A natural-language analytics dashboard for UK property prices can be built by combining an LLM (Claude Sonnet 3.7), the ClickHouse MCP Server and CopilotKit in a Next.js app. The LLM turns a prompt into SQL, CopilotKit's MCP client runs it against ClickHouse over SSE, and the model then calls a `generateChart` action defined with `useCopilotAction` to render the result via ECharts. The walkthrough covers swapping in the Anthropic adapter, running the MCP server with fastmcp, and sharing chart state with `useCopilotReadable`. It recommends a read-only ClickHouse user with restricted databases, quotas and a limited settings profile so the model cannot reach data or run queries beyond what is intended.
- Announcing the new ClickHouse SQL Playground
ClickHouse mediumAdept
sql.clickhouse.com is a new public SQL playground offering over 35 datasets (60 TB) and 220 example queries, with syntax highlighting, autocomplete, query parameters, basic charting via Apache ECharts and shareable links. It is a NextJS/React single-page app talking directly to ClickHouse's HTTP interface. Read-only credentials are exposed safely by combining RBAC, query complexity limits (10 billion rows read, 1000 rows returned) and per-IP quotas of 60 queries per hour. The service runs on a fixed 3-node, 30-vCPU ClickHouse Cloud cluster backed by object storage. Live query progress polls system.processes every 100ms by query ID under a separate monitor user, avoiding HTTP progress headers that the browser fetch API can't read.
- Adding Real Time Analytics to a Supabase Application With ClickHouse
ClickHouse mediumAdept
HouseClick, a demo estate-agency app, keeps ~1000 current listings in Supabase Postgres and serves analytics over the ~30M-row UK house price dataset from ClickHouse Cloud. The app first queried ClickHouse directly via its JS client, then switched to Supabase's ClickHouse Foreign Data Wrapper so Postgres pushes queries down to ClickHouse and returns only aggregated results. That gives developers a single SQL interface and lets them join transactional and analytical data without ETL. The post also contrasts OLTP and OLAP workloads and walks through FDW setup, best practices, and options for syncing transactional data into ClickHouse.
- How Picnic uses ClickHouse for real-time analytics across 20+ fulfillment centers and 1 million unique stores
ClickHouse mediumAdept
Picnic runs a self-service real-time insights platform on ClickHouse Cloud that turns operational events from 20+ automated fulfillment centers into Grafana dashboards for warehouse teams. Events from Java services and mobile apps flow over RabbitMQ and Kafka into a custom Java ingestion service. Materialized views parse the raw string payloads on insert, and refreshable materialized views handle heavier aggregates. Analysts define dbt models through GitHub pull requests with automated checks. Migrating from TimescaleDB cut operational complexity and drove sharp growth in dbt models, and GDPR access control was built from getClientHTTPHeader, Keycloak-backed Grafana identity and row-level policies.
- How Fountain rebuilt its data plane on ClickHouse Cloud to power Cue, the Frontline Superintelligence
ClickHouse mediumAdept
Fountain replaced a multi-vendor batch pipeline (third-party replication to S3/Iceberg, then BigQuery) with ClickPipes CDC streaming Postgres and MongoDB directly into ClickHouse Cloud, cutting analytics freshness from three hours to under two minutes, with most queries sub-second, at about 66% lower cost. MongoDB documents land in ClickHouse's native JSON type, which enables schema-on-read dot-notation access, and over 2,000 incremental materialized views built with dbt replace any orchestrator. Moving a lagInFrame plus ASOF JOIN window computation into insert-time materialized views cut per-query memory by 80% on an 838M-row table, and 60-98% across other query shapes. Tenant isolation for the Cue LLM agent is enforced through empty service users, versioned RBAC roles, session variables set by the MCP backend, and row policies, so the design fails closed and resists prompt injection.