---
title: "symbolSize(by:)"
framework: charts
role: symbol
role_heading: Instance Method
path: "charts/chartcontent/symbolsize(by:)"
---

# symbolSize(by:)

Represents data using symbol sizes.

## Declaration

```swift
nonisolated func symbolSize<D>(by value: PlottableValue<D>) -> some ChartContent where D : Plottable

```

## Parameters

- `value`: The data value to encode by size.

## See Also

### Encoding data into mark characteristics

- [foregroundStyle(by:)](charts/chartcontent/foregroundstyle(by:).md)
- [lineStyle(by:)](charts/chartcontent/linestyle(by:).md)
- [position(by:axis:span:)](charts/chartcontent/position(by:axis:span:).md)
- [symbol(by:)](charts/chartcontent/symbol(by:).md)
