← All Learning Paths

Data Visualization Engineer

A data visualization path covering SQL aggregation and window functions, statistical helpers, number formatting, and accessible layout.

roleintermediate13 nodes12.75h total

Path overview

可视化的可信度来自两端:查询侧正确的聚合与窗口计算,以及展示侧清晰的统计量、数字格式与无障碍布局。本路径覆盖 SQL 分组与窗口函数、移动平均与百分位、标准差与线性拟合、数字与时间格式化,最后用网格布局与对比度把关。

This path connects analysis to presentation: SQL aggregation and window functions, moving averages and percentiles, standard deviation and least-squares fitting, number and time formatting, and accessible grid layout.

  1. Execute "GROUP BY with Aggregate Functions", change one constant, and describe how the output diverges from "Uses GROUP BY with multiple aggregate functions to summarize sales data by category,".

    Completion criteria: Change one constant in "GROUP BY with Aggregate Functions", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: Window Functions for Analytics

    ⏱ 0.75h

  2. Run the visualization snippet "Window Functions for Analytics", capture stdout, and show which line demonstrates the documented behavior: "Uses window functions like ROW_NUMBER, RANK, LAG, LEAD, and running totals to perform".

    Prerequisites: GROUP BY with Aggregate Functions

    Completion criteria: Paste the command, the exit code, and the output line matching "Uses window functions like ROW_NUMBER, RANK, LAG, LEAD, and running totals to perform"; then show a second run with a changed parameter.

    Next step: SQL Window Function Running Totals

    ⏱ 0.75h

  3. Adapt "SQL Window Function Running Totals" to a second input and compare the new output with the behavior described in "Use PostgreSQL window functions with explicit ROWS frames to compute running totals, moving".

    Prerequisites: Window Functions for Analytics

    Completion criteria: Save two runs of "SQL Window Function Running Totals" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: Moving Average With a Fixed Window

    ⏱ 0.75h

  4. Execute "Moving Average With a Fixed Window", change one constant, and describe how the output diverges from "Calculate a simple moving average over a fixed window with a rolling sum, validating window".

    Prerequisites: SQL Window Function Running Totals

    Completion criteria: Attach the terminal transcript for "Moving Average With a Fixed Window": command, exit code, and the printed result you used to confirm "Calculate a simple moving average over a fixed window with a rolling sum, validating window".

    Next step: Percentile and Quantile Calculation

    ⏱ 0.75h

  5. Run the visualization snippet "Percentile and Quantile Calculation", capture stdout, and show which line demonstrates the documented behavior: "Compute percentiles and quantiles with linear interpolation on a copied sorted array,".

    Prerequisites: Moving Average With a Fixed Window

    Completion criteria: Change one constant in "Percentile and Quantile Calculation", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: Standard Deviation for Population and Sample

    ⏱ 0.75h

  6. Adapt "Standard Deviation for Population and Sample" to a second input and compare the new output with the behavior described in "Compute population or sample standard deviation over validated numbers, with clear errors".

    Prerequisites: Percentile and Quantile Calculation

    Completion criteria: Paste the command, the exit code, and the output line matching "Compute population or sample standard deviation over validated numbers, with clear errors"; then show a second run with a changed parameter.

    Next step: Linear Regression Least Squares Fit

    ⏱ 0.75h

  7. Execute "Linear Regression Least Squares Fit", change one constant, and describe how the output diverges from "Fit a least-squares line to x/y points and return slope, intercept, R-squared and a".

    Prerequisites: Standard Deviation for Population and Sample

    Completion criteria: Save two runs of "Linear Regression Least Squares Fit" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: Compact Number Formatting

    ⏱ 0.75h

  8. Run the visualization snippet "Compact Number Formatting", capture stdout, and show which line demonstrates the documented behavior: "Format large counts as 1.2K or 3.4M with Intl.NumberFormat compact notation and configurable".

    Prerequisites: Linear Regression Least Squares Fit

    Completion criteria: Attach the terminal transcript for "Compact Number Formatting": command, exit code, and the printed result you used to confirm "Format large counts as 1.2K or 3.4M with Intl.NumberFormat compact notation and configurable".

    Next step: Relative Time Labels With Intl

    ⏱ 0.75h

  9. Adapt "Relative Time Labels With Intl" to a second input and compare the new output with the behavior described in "Format timestamps as localized labels such as yesterday or in 2 hours, reusing cached".

    Prerequisites: Compact Number Formatting

    Completion criteria: Change one constant in "Relative Time Labels With Intl", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: CSS Grid Layout System

    ⏱ 0.75h

  10. Run the visualization snippet "CSS Grid Layout System", capture stdout, and show which line demonstrates the documented behavior: "Build a responsive grid layout system using CSS Grid with auto-fit and minmax for flexible".

    Prerequisites: Relative Time Labels With Intl

    Completion criteria: Save two runs of "CSS Grid Layout System" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: WCAG Contrast Ratio Calculator

    ⏱ 0.75h

  11. Run the visualization snippet "WCAG Contrast Ratio Calculator", capture stdout, and show which line demonstrates the documented behavior: "the parseHexColor entry point".

    Prerequisites: CSS Grid Layout System

    Completion criteria: Attach the terminal transcript for "WCAG Contrast Ratio Calculator": command, exit code, and the printed result you used to confirm "the parseHexColor entry point".

    Next step: CSS Grid Dashboard Layout

    ⏱ 0.75h

  12. Implement "CSS Grid Dashboard Layout" so that grid template areas yields Dashboard panel structure, including the edge case in the second sample.

    Prerequisites: WCAG Contrast Ratio Calculator

    Completion criteria: Show a test command that validates "grid template areas" and "Dashboard panel structure" and passes after your fix.

    Next step: Capstone: Data Visualization Engineer

    ⏱ 0.5h

  13. Deliver the "Build a Chart Generation CLI with SVG Output" blueprint with "csv-to-chart bar renders grouped bars with value labels and automatic y-axis scaling" working and "Line charts interpolate missing points and render markers only above a density threshold" recorded as evidence.

    Prerequisites: CSS Grid Dashboard Layout

    Completion criteria: Deliver "csv-to-chart bar renders grouped bars with value labels and automatic y-axis scaling" and paste the test output where the acceptance test passes; include the test name and command.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h