# Data Properties

**Data Properties** can be used to consolidate data fields and their aggregations from one or more datasets to power the visual, effectively providing it with the necessary structure and form.

### Data-Visual Association Styles

In **ViewZen Analytics**, different styles are employed to link data with various visuals

1. [Dimensions ](https://viewzenlabsug.gitbook.io/userguides/viewzen-analytics/dashboard/create-a-dashboard/toolbar/place-components/properties/data-properties/dimensions)and [Measures](#measures)
2. [X-axis and Y-axis](https://viewzenlabsug.gitbook.io/userguides/viewzen-analytics/dashboard/create-a-dashboard/toolbar/place-components/properties/data-properties/x-axis-and-y-axis)
3. [Column](https://viewzenlabsug.gitbook.io/userguides/viewzen-analytics/dashboard/create-a-dashboard/toolbar/place-components/properties/data-properties/column)

### Add data to a Visual

Data can be added to a visual by selecting the appropriate field (expand the [Dataset Utility](https://viewzenlabsug.gitbook.io/userguides/viewzen-analytics/dashboard/create-a-dashboard/get-started)) and dragging it into the relevant area of the data properties zone (i.e., Dimensions, Measures, X-axis, Y-axis, Column)

<figure><img src="https://2529980633-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK8cCKBpIeUsWEwOw3Fbj%2Fuploads%2Fw6bk5rO9logpqHbLskz6%2Fassociatedatatovisual.jpg?alt=media&#x26;token=9f2d3b40-4295-45dc-ae75-41888fa5b7a7" alt="" width="375"><figcaption><p>Associate data to visual</p></figcaption></figure>

### Modify data source of a Visual

Two types of modifications can be made to the data associated with a visual

* **Change the data field itself** - The data column associated with a visual can be changed either by
  * Deleting the existing column and [adding the new column](#add-data-to-a-visual).
  * Clicking the column dropdown and selecting a new column.
* **Change the position of the data field** - The position of a data field can be changed by holding the drag handle, dragging and dropping it into the desired location.

<figure><img src="https://2529980633-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK8cCKBpIeUsWEwOw3Fbj%2Fuploads%2F8kwdlchDSdS2yL0Qpyun%2Fmodifydatainvisual.jpg?alt=media&#x26;token=58b145ec-9b1b-4306-9938-2f323ad1f0ba" alt="" width="375"><figcaption><p>Modify data source of a Visual</p></figcaption></figure>

### Edit data source Label

The label of a data field can be edited by double-clicking on it, making the label editable. After making changes, click the checkmark to save the modifications.

<figure><img src="https://2529980633-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK8cCKBpIeUsWEwOw3Fbj%2Fuploads%2FpCFUPmrS0wZzXo9vKHt9%2Feditdatafieldlabel.jpg?alt=media&#x26;token=dcefad19-14e7-46f4-bfa2-2b18bafe2395" alt="" width="375"><figcaption><p>Edit data source Label</p></figcaption></figure>

### Grouping of numeric fields into bins

A numeric field can be directly used as a dimension by creating standard (equal-sized) bins as categories.&#x20;

### Grouping of date fields

Date fields can be directly used as **dimensions** by extracting meaningful attributes such as year, month, week, or day.

<figure><img src="https://2529980633-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK8cCKBpIeUsWEwOw3Fbj%2Fuploads%2FwSKFu4Rm1QwfxR3fdtS9%2Fnumberndatefieldgrouping.jpg?alt=media&#x26;token=4cbeb9a0-906b-44d4-a7c0-5ba3dd776587" alt=""><figcaption><p>Number and date field groupings</p></figcaption></figure>
