[{"data":1,"prerenderedAt":330},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fanalysis\u002Fcharts":3},{"page":4,"navigation":246,"surround":327},{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"body":11,"_type":240,"_id":241,"_source":242,"_file":243,"_stem":244,"_extension":245},"\u002Fdocs\u002Fanalysis\u002Fcharts","analysis",false,"","Charts","Every result comes with a chart. Customize the type, measures, time buckets and formatting, and export it.",{"type":12,"children":13,"toc":234},"root",[14,30,50,62,69,173,178,184,214,220],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,28],{"type":20,"value":21},"text","Every result, whether it's from the agent or the SQL editor, has a ",{"type":15,"tag":23,"props":24,"children":25},"strong",{},[26],{"type":20,"value":27},"Chart",{"type":20,"value":29}," tab next to its table. Datachef picks a chart from the shape of the result:",{"type":15,"tag":31,"props":32,"children":33},"ul",{},[34,40,45],{"type":15,"tag":35,"props":36,"children":37},"li",{},[38],{"type":20,"value":39},"A time column gives a timeline.",{"type":15,"tag":35,"props":41,"children":42},{},[43],{"type":20,"value":44},"A category and a measure give a bar chart.",{"type":15,"tag":35,"props":46,"children":47},{},[48],{"type":20,"value":49},"A single number gives a single-value tile.",{"type":15,"tag":16,"props":51,"children":52},{},[53,55,60],{"type":20,"value":54},"Choose ",{"type":15,"tag":23,"props":56,"children":57},{},[58],{"type":20,"value":59},"Customize",{"type":20,"value":61}," to open the chart builder. It aggregates in your browser, so switching from monthly to quarterly, or from sum to average, is instant and doesn't re-run the query.",{"type":15,"tag":63,"props":64,"children":66},"h2",{"id":65},"options",[67],{"type":20,"value":68},"Options",{"type":15,"tag":70,"props":71,"children":72},"table",{},[73,88],{"type":15,"tag":74,"props":75,"children":76},"thead",{},[77],{"type":15,"tag":78,"props":79,"children":80},"tr",{},[81,85],{"type":15,"tag":82,"props":83,"children":84},"th",{},[],{"type":15,"tag":82,"props":86,"children":87},{},[],{"type":15,"tag":89,"props":90,"children":91},"tbody",{},[92,109,125,141,157],{"type":15,"tag":78,"props":93,"children":94},{},[95,104],{"type":15,"tag":96,"props":97,"children":98},"td",{},[99],{"type":15,"tag":23,"props":100,"children":101},{},[102],{"type":20,"value":103},"Types",{"type":15,"tag":96,"props":105,"children":106},{},[107],{"type":20,"value":108},"Bar, horizontal bar, line, area, timeline, pie\u002Fdonut, scatter, single value",{"type":15,"tag":78,"props":110,"children":111},{},[112,120],{"type":15,"tag":96,"props":113,"children":114},{},[115],{"type":15,"tag":23,"props":116,"children":117},{},[118],{"type":20,"value":119},"Data",{"type":15,"tag":96,"props":121,"children":122},{},[123],{"type":20,"value":124},"A dimension, one or more measures (sum, average, min, max, median, count, count distinct), and an optional break-down that splits a measure into one series per category",{"type":15,"tag":78,"props":126,"children":127},{},[128,136],{"type":15,"tag":96,"props":129,"children":130},{},[131],{"type":15,"tag":23,"props":132,"children":133},{},[134],{"type":20,"value":135},"Time",{"type":15,"tag":96,"props":137,"children":138},{},[139],{"type":20,"value":140},"Automatic, or fixed buckets: hour, day, ISO week, month, quarter, year",{"type":15,"tag":78,"props":142,"children":143},{},[144,152],{"type":15,"tag":96,"props":145,"children":146},{},[147],{"type":15,"tag":23,"props":148,"children":149},{},[150],{"type":20,"value":151},"Shape",{"type":15,"tag":96,"props":153,"children":154},{},[155],{"type":20,"value":156},"Side by side, stacked or 100% stacked. Sort by name, by value or in the query's own order. Show the top N and fold the rest into \"Other\".",{"type":15,"tag":78,"props":158,"children":159},{},[160,168],{"type":15,"tag":96,"props":161,"children":162},{},[163],{"type":15,"tag":23,"props":164,"children":165},{},[166],{"type":20,"value":167},"Reading",{"type":15,"tag":96,"props":169,"children":170},{},[171],{"type":20,"value":172},"Legend, gridlines, value labels, a target line, axis titles, and number formats including currency, percent, compact and bytes",{"type":15,"tag":16,"props":174,"children":175},{},[176],{"type":20,"value":177},"A chart shows at most eight series. Beyond that, the smallest are folded into \"Other\". Each chart also has a table of its numbers underneath.",{"type":15,"tag":63,"props":179,"children":181},{"id":180},"export",[182],{"type":20,"value":183},"Export",{"type":15,"tag":31,"props":185,"children":186},{},[187,204],{"type":15,"tag":35,"props":188,"children":189},{},[190,195,197,202],{"type":15,"tag":23,"props":191,"children":192},{},[193],{"type":20,"value":194},"PNG",{"type":20,"value":196}," and ",{"type":15,"tag":23,"props":198,"children":199},{},[200],{"type":20,"value":201},"SVG",{"type":20,"value":203}," include the title and legend.",{"type":15,"tag":35,"props":205,"children":206},{},[207,212],{"type":15,"tag":23,"props":208,"children":209},{},[210],{"type":20,"value":211},"CSV",{"type":20,"value":213}," gives you the numbers the chart is drawn from.",{"type":15,"tag":63,"props":215,"children":217},{"id":216},"saving-and-sharing",[218],{"type":20,"value":219},"Saving and sharing",{"type":15,"tag":16,"props":221,"children":222},{},[223,225,232],{"type":20,"value":224},"The chart is saved on its tab, so it's still there after a reload. When you ",{"type":15,"tag":226,"props":227,"children":229},"a",{"href":228},"\u002Fdocs\u002Fanalysis\u002Ftabs-and-sharing",[230],{"type":20,"value":231},"publish the tab",{"type":20,"value":233},", readers see the chart you built.",{"title":8,"searchDepth":235,"depth":235,"links":236},2,[237,238,239],{"id":65,"depth":235,"text":68},{"id":180,"depth":235,"text":183},{"id":216,"depth":235,"text":219},"markdown","content:docs:3.analysis:3.charts.md","content","docs\u002F3.analysis\u002F3.charts.md","docs\u002F3.analysis\u002F3.charts","md",[247],{"title":248,"_path":249,"children":250},"Welcome","\u002Fdocs",[251,252,262,284,297,304,314],{"title":248,"_path":249},{"title":253,"_path":254,"children":255},"Getting started","\u002Fdocs\u002Fgetting-started",[256,259],{"title":257,"_path":258},"Quickstart","\u002Fdocs\u002Fgetting-started\u002Fquickstart",{"title":260,"_path":261},"Key concepts","\u002Fdocs\u002Fgetting-started\u002Fconcepts",{"title":263,"_path":264,"children":265},"Connecting data","\u002Fdocs\u002Fconnections",[266,269,272,275,278,281],{"title":267,"_path":268},"Overview","\u002Fdocs\u002Fconnections\u002Foverview",{"title":270,"_path":271},"Sync settings","\u002Fdocs\u002Fconnections\u002Fsync-settings",{"title":273,"_path":274},"Salesforce","\u002Fdocs\u002Fconnections\u002Fsalesforce",{"title":276,"_path":277},"Marketo","\u002Fdocs\u002Fconnections\u002Fmarketo",{"title":279,"_path":280},"Google Analytics 4","\u002Fdocs\u002Fconnections\u002Fgoogle-analytics-4",{"title":282,"_path":283},"PostgreSQL and MySQL","\u002Fdocs\u002Fconnections\u002Fpostgres-mysql",{"title":285,"_path":286,"children":287},"Analysis","\u002Fdocs\u002Fanalysis",[288,291,294,295],{"title":289,"_path":290},"Asking questions","\u002Fdocs\u002Fanalysis\u002Fask-a-question",{"title":292,"_path":293},"SQL editor","\u002Fdocs\u002Fanalysis\u002Fsql-editor",{"title":9,"_path":5},{"title":296,"_path":228},"Tabs and sharing",{"title":298,"_path":299,"children":300},"Models","\u002Fdocs\u002Fmodels",[301],{"title":302,"_path":303},"Working with models","\u002Fdocs\u002Fmodels\u002Foverview",{"title":305,"_path":306,"children":307},"AI agents","\u002Fdocs\u002Fai-agents",[308,311],{"title":309,"_path":310},"Claude connector","\u002Fdocs\u002Fai-agents\u002Fclaude-connector",{"title":312,"_path":313},"Tools","\u002Fdocs\u002Fai-agents\u002Ftools",{"title":315,"_path":316,"children":317},"Administration","\u002Fdocs\u002Fadministration",[318,321,324],{"title":319,"_path":320},"People and roles","\u002Fdocs\u002Fadministration\u002Fpeople-and-roles",{"title":322,"_path":323},"Sign-in and SSO","\u002Fdocs\u002Fadministration\u002Fsign-in-and-sso",{"title":325,"_path":326},"Security","\u002Fdocs\u002Fadministration\u002Fsecurity",[328,329],{"_path":293,"title":292},{"_path":228,"title":296},1792546943185]