---
url: /dash-bio/molecule2dviewer
name: Molecule2dViewer
description:
    "Dash Bio is a component library
    dedicated to visualizing bioinformatics data."
icon_path: images/icons_v2/www (1).svg
languages:
  - python
  - julia
  - r
  - matlab
thumbnail: 'molecule2dviewer.png'    
---
# ![](/assets/images/language_icons/r-lang_50px.svg) dash_bio.Molecule2dViewer Examples and Reference
see [Molecule2dViewer in action](https://dash-gallery.plotly.host/dash-molecule-2d-viewer).

## Molecule2dViewer

An example of a default Molecule2dViewer component without any extra properties.

{{example defaultMolecule2d}}

## Customization

### Selected Atom Ids

Highlight specific atoms in the molecule.

{{example molecule2dAtomId}}

### Model Data

Change the bonds and atoms in the molecule.

{{example molecule2dMoreData}}

{{reference dash_bio.Molecule2dViewer}}

## Example Data

- https://github.com/plotly/datasets/blob/master/Dash_Bio/Chromosomal/mol2d_buckminsterfullerene.json
- [RCSB Protein Data Bank](https://www.rcsb.org/)
