0
0
Figmabi_tool~20 mins

Pen tool for custom paths in Figma - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Pen Tool Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding Anchor Points with the Pen Tool

When using the Pen tool in Figma to create a custom path, what does an anchor point represent?

AA fixed point that defines the start or end of a path segment
BA color fill applied to the shape
CA shortcut key to switch tools
DA layer style applied to the path
Attempts:
2 left
💡 Hint

Think about what defines the shape's outline.

dax_lod_result
intermediate
2:00remaining
Calculating Total Length of a Custom Path

You created a custom path with the Pen tool in Figma and exported the coordinates. Which DAX measure correctly calculates the total length of the path assuming you have a table 'PathPoints' with columns 'X' and 'Y' ordered by 'PointOrder'?

Figma
PathPoints = 
DATATABLE(
  "PointOrder", INTEGER,
  "X", FLOAT,
  "Y", FLOAT,
  {
    {1, 0, 0},
    {2, 3, 4},
    {3, 6, 0}
  }
)
ATotalLength = SUMX(PathPoints, SQRT(POWER(PathPoints[X] - EARLIER(PathPoints[X]), 2) + POWER(PathPoints[Y] - EARLIER(PathPoints[Y]), 2)))
BTotalLength = SUMX(PathPoints, VAR PrevX = CALCULATE(MAX(PathPoints[X]), FILTER(PathPoints, PathPoints[PointOrder] = EARLIER(PathPoints[PointOrder]) - 1)) VAR PrevY = CALCULATE(MAX(PathPoints[Y]), FILTER(PathPoints, PathPoints[PointOrder] = EARLIER(PathPoints[PointOrder]) - 1)) RETURN SQRT(POWER(PathPoints[X] - PrevX, 2) + POWER(PathPoints[Y] - PrevY, 2)))
CTotalLength = SUMX(PathPoints, PathPoints[X] + PathPoints[Y])
DTotalLength = COUNTROWS(PathPoints)
Attempts:
2 left
💡 Hint

Think about how to calculate distance between consecutive points.

visualization
advanced
1:30remaining
Best Visualization for Custom Path Data

You have data points from a custom path created with the Pen tool. Which visualization best shows the shape and flow of the path in a BI dashboard?

ABar chart showing X values only
BPie chart of point counts
CScatter plot without connecting lines
DLine chart connecting points in order
Attempts:
2 left
💡 Hint

Think about how to show a continuous shape.

🔧 Formula Fix
advanced
1:30remaining
Debugging a Broken Custom Path Visualization

You created a line chart to show a custom path but the shape looks broken with disconnected segments. What is the most likely cause?

AThe points are not sorted by their order before plotting
BThe color palette is incorrect
CThe data contains duplicate X values
DThe chart type is set to bar chart
Attempts:
2 left
💡 Hint

Think about how the line connects points.

data_modeling
expert
2:30remaining
Modeling Complex Custom Paths with Multiple Segments

You need to model multiple custom paths created with the Pen tool, each with several segments and anchor points. Which data model design best supports efficient querying and visualization?

AOne flat table with only X and Y coordinates
BSeparate tables for Paths, Segments, and Points without relationships
COne table with columns: PathID, SegmentID, PointOrder, X, Y
DMultiple tables with unrelated keys
Attempts:
2 left
💡 Hint

Think about how to organize hierarchical data for paths and segments.